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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
zendesign
Forum Newbie
Posts: 1
Joined: Wed Oct 30, 2013 9:34 pm

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

Post 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.
:)
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

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

Post 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.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

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

Post 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.
Post Reply