custom php.ini - settings not taken into consideration
Posted: Wed Oct 28, 2009 11:40 pm
Hello,
I would like to have instead of the standard one and the web host told me:
The file just contains:
What I am doing wrong ?
Thank you
I would like to have
Code: Select all
upload_max_filesize = 5MI read the documentation as well and what I was told seemed right so I created a php.ini in my directory c:\wamp\www\books, but too no avail, the settings are not taken into consideration.You can simply create a php.ini file in your account with the settings changes you would like to make. For example, place the following text in a file called php.ini:
upload_max_filesize = 20M;
This will increase the max upload size to 20MB. Please note that php.ini files affect only the directory they are located in.
The file just contains:
Code: Select all
max_execution_time = 45
upload_max_filesize = 5MThank you