A-OK A-OK - 4 years ago 95
Apache Configuration Question

.htaccess produces 500 Internal Server Error

The content of .htaccess is:

php_value upload_max_filesize 64M


Works on localhost, screws up every hosting server I upload it to.
The error.log says: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration

Is there another way to change the upload_max_filesize?

Answer Source

The problem was the hosting provider, they only allow changing this via php.ini

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download