Justtechjobs.com Find a programming school near you






Online Campus Both


php-windows | 2003032

Re: [PHP-WIN] Syntax Error on Win2000-Apache From: Arijit Chaudhuri (artisans <email protected>)
Date: 03/25/03

Absolutely - the "display_errors = On" was missing in php.ini.

Thanks everyone!
Arijit

"Paolo Bonavoglia" <paolo_bonavoglia <email protected>> wrote in message
news:5.2.0.9.0.20030325191738.01872eb8 <email protected>
> At 22:47 25/03/2003 25/03/2003, you wrote:
> >My Win2000-Apache-PHP-MySQL setup works fine. I shifted to Apache from
IIS
> >due to the cookie-redirection problem of IIS. The only problem with my
> >setup is - when there is a syntax error in php code, it does not show any
> >error messages - just a clean blank screen on the browser! What needs to
> >be tweaked?
>
> Look at the php.ini file in the windows directory, and set the following
> variable:
>
> display_errors = On
>
> This is useful for debugging but error messages will show on the web page,
> and users will see them also. If you prefer not to show error messages to
> users, set
>
> display_errors = Off
> log_errors = On
>
> error_log = c:\php\errori.log (or any other directory and file of your
choice)
>
> and all error messages will be saved in this text-file.
>
> Hope this can be helpful.
>
>
>
> Paolo Bonavoglia
>
> Cannaregio 3027/R
> 30121 V E N E Z I A
> ========================================================
> Sito del Liceo Foscarini http://www.liceofoscarini.it/
> Astronomia e
> Calendari http://digilander.iol.it/paolobona/astro/home.html
>

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