Re: Impossibility of reading php.ini

From: Date: Sat, 19 Nov 2011 19:55:37 +0000
Subject: Re: Impossibility of reading php.ini
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-315769@lists.php.net to get a copy of this message
Yes I change the right one : /etc/php5/apache2/php.ini .It fit with "Loaded Configuration File" in phpinfo(). This the reason I get confused. Le 19/11/2011 20:26, Matijn Woudt a écrit :
On Sat, Nov 19, 2011 at 7:23 PM, Alain Chautar<achautar@nerim.net> wrote:
Hello I am a newbie of this list. So if this topic as a known answer, I apologize. I use a brand new Debian Squeeze with PHP5.3.3-7+Squeeze3 as a web server. All my web sites are OK. For my needs I have to change values in the php.ini . The way I proceed : I change values -> I save php.ini -> I restart Apache2 -> I verify with phpinfo() or ini_get ... My phpinfo() can be read at 213.41.212.98/test.php and my php.ini is join to this mail. If somebody have an idea ??? Thanks.
Are you sure you changed the correct php.ini file? In my debian there is one for the CLI and one for Apache, eg: cd /etc&& find -iname "php.ini" ./php5/cli/php.ini ./php5/apache2/php.ini where ofcourse only the last one affects your website. Matijn


« previous php.general (#315769) next »