Hi,
I'm trying to override the setting for upload_max_filesize on my hosting account.
I tried creating a .htaccess file with the following lines in it:
php_value memory_limit 128M
php_value post_max_size 50M
php_value upload_max_filesize 50M
php_value max_execution_time 6000
but when I do a phpinfo() it shows me the variables have not changed. I think that AllowOverride must be on within the httpd.conf as I have a web option in my control panel that creates an .htaccess file with an .htpasswd file (this asks for a username and password when I access that directory (although I'm pretty new to all this stuff so can't be sure whether this is a good indication of the settings within httpd.conf)).
Then I tried copying the php.ini file from it's present location on the server into my public_html folder and then changing the values, but even before I changed the values I got an 'Internal Server Error' page when I tried to run phpinfo() again.
I know you cannot set upload_max_filesize with ini_set in my host's version of PHP (4.4.8)
So, please can someone tell me what I need to do, if there is anything I can do here?
Thanks very much,
Tom.