Soheil

Active Member
Jun 24, 2003
43
0
156
Hi Guys,
I can't upload any files larger than 500k
I have edited php.ini and set the following variables:

file_uploads = On
upload_max_filesize = 200M
max_execution_time = 500
max_input_time = 100
memory_limit = 32M
post_max_size = 200M

Also, I added this line to httpd.conf on the top of the file
LimitRequestBody 2147483647


Restarted Apache and still can not upload files larger than 500k

Can anyone please tell me what else I need to do please?
 

celliott

Well-Known Member
Jan 2, 2006
460
0
166
United Kingdom
Are you 100% sure you are modifying the correct php.ini file? If you have Zend installed the file will be located in the Zend folder which explains why you are not seeing any changes. Check the location of the file with the phpinfo command.

Chris.
 

Soheil

Active Member
Jun 24, 2003
43
0
156
Thanks for your help gusy.
Cpanel support helped me find the problem.
/tmp directory had incorrect permissions.