Re: Impossibility of reading php.ini

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux