Here is a bit of advice for those of you trying to use MYSQL with PHP4 (cgi 
mode) on Windows.

I use "localhost" with Xitami on Win98 for PHP development and it is a very 
good environment.  But, for a long time my PHP scripts would occasionally 
crash, and I would get

  ERROR:  This program performed an illegal operation and will be shut down.
        PHP caused an invalid page fault in module PHP4TS.DLL at 0167:100b0eda.

and it was VERY FRUSTRATING because I could not discover the problem.

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

John Henckel          alt. mailto:[EMAIL PROTECTED]
Zumbro Falls, Minnesota, USA   (507) 753-2216

http://geocities.com/jdhenckel/


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to