Page 1 of 1

Had edit php.ini for upload max size but in phpinfo but stil

Posted: Wed Oct 30, 2013 9:36 pm
by zendesign
Hello there, I need to solve this problem. I have edit php.ini through ssh.
when I grep php.ini it says location:

Code: Select all

# php -i | grep php.ini
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/extensions/xmlrpc.so' - /usr/lib64/php5/extensions/xmlrpc.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php5/extensions/xmlrpc.so' - /usr/lib64/php5/extensions/xmlrpc.so: cannot open shared object file: No such file or directory in Unknown on line 0
Configuration File (php.ini) Path => /etc/php5/cli
Loaded Configuration File => /etc/php5/cli/php.ini
and I have edit php.ini for upload_max 200mb and post_max 200mb but still no change in phpinfo, to check phpinfo please visit http://stik-ptik.ac.id/e_learning/infophp.php
Please help me out here, I have restart apache as well, restart server as well but nothing's change. I have no idea what caused this.
OS is linux suse.
Thank you very much.
:)

Re: Had edit php.ini for upload max size but in phpinfo but

Posted: Wed Oct 30, 2013 10:05 pm
by requinix
Have you checked if you have more than one php.ini? Looks like the one you edited was /etc/php5/cli/php.ini while the phpinfo page you linked to says it's using /etc/php5/apache2/php.ini.

Re: Had edit php.ini for upload max size but in phpinfo but

Posted: Sat Nov 02, 2013 12:47 am
by josh
requinix wrote:Have you checked if you have more than one php.ini? Looks like the one you edited was /etc/php5/cli/php.ini while the phpinfo page you linked to says it's using /etc/php5/apache2/php.ini.
phpinfo will tell you which file it loaded:

Code: Select all

Loaded Configuration File	/etc/php5/apache2/php.ini
Make sure you edit the correct file. You must restart your CGI handler / Apache for the changes to be read back.