Changing PHP settings in an .htaccess file

 

Overview

This article provides guidance on how to change the PHP settings on your site.

Background

In some server configurations, it's possible to adjust your PHP settings within an .htaccess file. For example:

php_value  upload_max_filesize  600M

DreamHost does not allow this type of configuration. The following section provides more information about an alternative for adjusting your PHP settings.

Using a phprc file

If you need to adjust your PHP settings, you must do so within a phprc file. See the following articles for information on how to create and configure this file:

See also

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?