Re: Impossibility of reading php.ini
| From: | Matijn Woudt | Date: | Sat, 19 Nov 2011 19:26:28 +0000 |
| Subject: | Re: Impossibility of reading php.ini | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315768@lists.php.net to get a copy of this message | ||
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