Re: mysql_connect dies silently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is what I have in my php.ini

error_reporting  =  E_ALL
display_errors = On
display_startup_errors = On
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = On
html_errors = On

Tried both:
error_log = /var/log/php_err.log
error_log = syslog

Nothing appears in /var/log/messages (Yes IÂm using Linux) nor in /var/
log/php_err.log

Even on the page still no errors get displayed.

Regards,

Chris

Am Mo, den 13.09.2004 um 13:29 Uhr +0100 schrieb Mark Boyle:
> If you have access to your php.ini file, take a look for the Error
> Reporting settings. It may be set to none, to to log the errors to
> syslogd or a file.
> 
> Mark
> 
> 
> On Mon, 13 Sep 2004 12:48:33 +0200, Christian Schlaefcke
> <cschlaefcke@xxxxxxxxxxxxxx> wrote:
> > Hi Folks,
> > 
> > I have a problem getting a php script running. It seems that the script
> > just dies when calling the function mysql_connect("host", "username",
> > "passwd"). I put two debugging echoes (one in front and one afterwards)
> > in the script but only the first one appears.
> > 
> > There are no errormessages. How can I debug this problem?
> > 
> > PHP Version 4.3.8
> > Option "--with-mysql=shared,/usr" is set.
> > 
> > Thanks & Regards,
> > 
> > Christian
> > 
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> >
> 

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux