In Ubuntu I make changes to php.ini but nothing happens

Posted by MrAn3 on Server Fault See other posts from Server Fault or by MrAn3
Published on 2009-06-07T10:21:38Z Indexed on 2011/01/05 9:55 UTC
Read the original article Hit count: 190

Filed under:
|
|

Hi, Apache with php works well, but none of the changes I make in php.ini have effect, I've even delete all the contents of the file, then restart Apache, and run phpinfo() and surprisingly everything continues working well.

The file I'm editing is the one that appears in the phpinfo() like "Loaded Configuration File". (/etc/php5/apache2/php.ini)

P.S. I'm running Ubuntu 9.04 and PHP 5.2

Thanks in advance.

More Details:

I'm restarting with sudo /etc/init.d/apache2 restart, I've also tried sudo /etc/init.d/apache2 stop, and then start, at restarting I get:

  • Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [ OK ]

"which php" did not produce any results.

My installation of PHP was done using Synaptic Package Manger, choosing "Mark Packages by task" and then LAMP server.

I don't have any clue of what to do...

© Server Fault or respective owner

Related posts about linux

Related posts about apache