Can not upload files

Permalink
Installing a 5.7.4.2
Php version 5.6.10

After initial install can not upload files. Get error message: "Uploaded file is too large. The current value of postmaxfilesize is 0"

Current php.ini file has:

upload_max_filesize = 100M
post_max_filesize = 100M

Seems like it is not reading the php.ini file???

 
mhawke replied on at Permalink Reply
mhawke
Are you sure you know what php.ini file is actually being used by the server? Do you have access to a phpinfo() either through the command line or a php script such as below?

<?php
echo phpinfo();
?>


I would check with the host. This setting is not available within the concrete5 environment.
Jupiter replied on at Permalink Reply
Jupiter
Please restart your server. Then clear your site cache then try to upload it. I think this helps you.

Regards
Jupiter
churchsecretary replied on at Permalink Reply
I found the problem. Needed to add:

upload_tmp_dir = /tmp/