Re: Help needed with php.ini
| From: | Joe Francis | Date: | Tue, 07 Jun 2011 01:11:53 +0000 |
| Subject: | Re: Help needed with php.ini | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313416@lists.php.net to get a copy of this message | ||
I remember that there's 2 php.ini in Fedora, one is for SAPI like apache or
other CGIServer, and another is for CLI.
Can you confirm that you edited a right config file?
On Mon, Jun 6, 2011 at 4:55 AM, Camilo Sperberg <unreal4u@gmail.com> wrote:
> On 05-06-2011, at 10:31, Adam Tong <adam.tongu@gmail.com> wrote:
>
> > Hi,
> >
> > I can't set correctly the error display and reporting properties. I
> > don't know what i'm doing wrong.
> >
> > Here is the section that i modified in php.ini:
> > -----
> > display_errors = On
> > ; Default Value: On
> > ; Development Value: On
> > ; Production Value: Off
> >
> > display_startup_errors = On
> > ; Default Value: Off
> > ; Development Value: On
> > ; Production Value: Off
> >
> > error_reporting = E_ALL | E_STRICT
> > ; Default Value: E_ALL & ~E_NOTICE
> > ; Development Value: E_ALL | E_STRICT
> > ; Production Value: E_ALL & ~E_DEPRECATED
> > ----
> >
> > And here is the output of phpinfo():
> > -----
> > display_errors Off Off
> > display_startup_errors Off Off
> > doc_root no value no value
> > docref_ext no value no value
> > docref_root no value no value
> > enable_dl Off Off
> > error_append_string no value no value
> > error_log no value no value
> > error_prepend_string no value no value
> > error_reporting 22527 22527
> > -----
> >
> > I'm using a default installation (using yum) of php on Fedora14. This
> > is my development environment, and want to see all the errors on
> > standard output.
> >
> > Thank you
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> Have you modified the example values instead of the ones mid-way php.ini?
> If so, scroll down to check. The latest settings should override the
> previous one.
>
> Have you restarted apache with service httpd restart or /etc/init.d/httpd
> restart? (or apachectl restart)
>
> In your php script or htaccess file, do you override those values?
>
> Sent from my iPhone 5 Beta [Confidential use only]
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Powered By Francis™.
Welcome to my website: http://www.francistm.com
Rewrite to francis.tm@gmail.com please.