Re: Syntax Error on Win2000-Apache

From: Date: Tue, 25 Mar 2003 19:14:52 +0000
Subject: Re: Syntax Error on Win2000-Apache
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-19140@lists.php.net to get a copy of this message
Absolutely - the "display_errors = On" was missing in php.ini. Thanks everyone! Arijit "Paolo Bonavoglia" <paolo_bonavoglia@virgilio.it> wrote in message news:5.2.0.9.0.20030325191738.01872eb8@letto... > 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 >

« previous php.windows (#19140) next »