RE: [PHP] Changing PHP.ini

2008-07-16 Thread Jay Blanchard
[snip] By visiting php.info in a web browser I have confirmed the
location of my php.ini file as /usr/local/php5/lib/php.ini. I open that
file and 
edit the line:

; - display_errors = Off

and change it to

display_errors = On

I then retstart Appache and visit php.info which still reports 
display_errors = Off. What else can I do?
[/snip]

Make sure that you do not have more than one php.ini

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




RE: [PHP] Changing PHP.ini

2008-07-15 Thread bruce
what os are you using?

if you're on linux, type:
 find / -name php.ini

do you see multiple copies of the php.ini file?

if you're on windows, use the search function to see if you have multiple
copies of php.ini.

if you really want to do a quick check to see if you're modifying the right
php.ini, just go ahead and rename it to something else, and then restart
apache, and check your results..



-Original Message-
From: Adam Gerson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 3:36 PM
To: php-general@lists.php.net
Subject: [PHP] Changing PHP.ini


By visiting php.info in a web browser I have confirmed the location of
my php.ini file as /usr/local/php5/lib/php.ini. I open that file and
edit the line:

; - display_errors = Off

and change it to

display_errors = On

I then retstart Appache and visit php.info which still reports
display_errors = Off. What else can I do?

Thanks,
Adam


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


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



Re: [PHP] Changing PHP.ini

2008-07-15 Thread Thorsten Suckow-Homberg


By visiting php.info in a web browser I have confirmed the location of 
my php.ini file as /usr/local/php5/lib/php.ini. I open that file and 
edit the line:


; - display_errors = Off

and change it to

display_errors = On

I then retstart Appache and visit php.info which still reports 
display_errors = Off. What else can I do?


Should be simple: create a script with the following code:

?php
phpinfo();
?

Then open that script in your browser. The generated output does also 
provide information about the path of the loaded php.ini.


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