Re: Impossibility of reading php.ini
| From: | Alain Chautar | Date: | Sun, 20 Nov 2011 09:45:02 +0000 |
| Subject: | Re: Impossibility of reading php.ini | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315771@lists.php.net to get a copy of this message | ||
A look at the Apache log would have avoid opening this thread.
- a syntax error in php.ini : an uncommented comment line !!
- an older version of the ZendDebugger
Now everything is fine. It's work !!
Le 19/11/2011 20:55, Alain Chautar a écrit :
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