• I am running Ubuntu 16.04 on a VPS with LAMP and Postfix installed.

    I am trying to import some demo data via my theme. I get the error message informing me that post_max_size is too low and that upload_max_size is too low.

    I edited php.ini (in /etc/php/7.0/cli/php.ini) and sure as I am standing here, they are both set well in excess of what the theme indicates. I ran service apache2 restart and no luck.

    Is there another php.ini I don’t know about?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Drop a phpinfo.php file in your web directory and then open it in a browser. That should show you the path to the php.ini file that’s loaded.

    Look for the “Loaded Configuration File” entry to see if it’s what you expect it to be.

    This is handy to see what the back-end of WordPress thinks: WordPress phpinfo() — WordPress Plugins

    i think if you Drop a phpinfo.php file in your web directory and then open it in a browser. is the simple way to go about it and it will work for you am sure.

    Or you could try dropping a phpinfo.php file in your web directory then opening it in a browser to see what the actual path to the loaded php.ini file is.

    LOL

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post_max_size and upload_max_size’ is closed to new replies.