I've installed WordPress on my localhost Mac OSX Yosemite box. I'm getting error:
The uploaded file exceeds the upload_max_filesize directive in php.ini
phpinfo() reports upload_max_filesize = 2M
I noticed that there was no php.ini inside the wp-admin folder of the WordPress default install, so I placed one there with upload_max_filesize = 64M.
I placed the php.ini into the wp-admin directory of the site I'm working. Unfortunately, I still get the error message. And phpinfo() file located in root directory of the site still reports upload_max_filesize = 2M
Any ideas how to resolve? The only other php.ini file I have is under:
private/etc/php.ini.default
I've edited that one to 64M as well, but no change in phpinfo() still.
The WP install is a brand new zip of 4.3.1 from wordpress.org
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire