Forum Moderators: coopster

Message Too Old, No Replies

php.ini

wont let me edit

         

electricocean

7:31 am on Jun 25, 2006 (gmt 0)

10+ Year Member



I cannot edit my php.ini i have opned it up and made display_error = On and saved. restarted apache and phpinfo() still says display_error Off

what should i do?

henry0

11:40 am on Jun 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you referring to a production server
or a local test bed?

If this regards the later, then verify that you are editing the "good one"; on local install for some reason I have seen two sets of php.ini in two locations :)

If local, rename for ex: _OLD the one .ini that you are currently editing, restart, if PHP restarts then you are looking at the wrong place.

eeek

6:10 pm on Jun 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What OS are you on?

electricocean

7:49 pm on Jun 25, 2006 (gmt 0)

10+ Year Member



Mac OS X 10.4.6

eeek

9:55 pm on Jun 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Is there a /etc/php.d directory?

henry0

11:37 am on Jun 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If local it will be in Apache2
otherwise depending on config
you may find a few symlinks or actual file in:
/usr/local/lib/php.ini
/usr/local/zend/ect/php.imi
/etc/php.ini
/ftp/usr/lib/php.ini

again thoose are only pointers, your server me be setup diferently.

electricocean

12:09 am on Jun 27, 2006 (gmt 0)

10+ Year Member



well i restarted my computer and it worked...

eelixduppy

12:13 am on Jun 27, 2006 (gmt 0)



Interesting...it's as if Apache had never restarted...hmmm.... Glad you got it electricocean!

henry0

11:00 am on Jun 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So it has to do with cache persistency
When you are in dev mode or debugging mode you might chose setting your local machine’s cache on del cache upon each browser exit