php-windows | 2001051

Re: [PHP-WIN] why mysql_connect crashes in Windows From: Adaran (Marc E. Brinkmann) (vielmailer <email protected>)
Date: 05/10/01

Hi John,

John> Here is a bit of advice for those of you trying to use MYSQL with PHP4 (cgi
John> and it was VERY FRUSTRATING because I could not discover the problem.

John> Finally I decided it must be a thread-safety problem, so I added a
John> sleep(2); just before mysql_connect() and the PROBLEM IS GONE!!!

AHHHHHHHHHH =). I had that problem, too. It happened just one day before I had
to finish a big script, and there was one feature to be added. After 3 hours of
searching, I "solved" this problem by installing Apache... But it happened only
since I had updated from PHP 4.0 to 4.0.4pl1 ...

Thanx ;-)

-----------------------
EnjoY,
 Adaran (vielmailer <email protected>)
   check http://www.adaran.net

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe <email protected>
For additional commands, e-mail: php-windows-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>