Overview
At DreamHost you cannot change PHP settings in an .htaccess file — the php_value directive is not allowed on DreamHost servers. Instead, adjust your PHP settings in a phprc file.
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.
How do I change PHP settings with 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:
- Create a phprc file via FTP
- Create a phprc file via SSH
- Increase the PHP upload limit
- Increase the PHP memory limit