#27768 [Fbk->Csd]: Apache crashes with Mysql
ID: 27768
User updated by: mathieuparent at infonie dot fr
Reported By: mathieuparent at infonie dot fr
-Status: Feedback
+Status: Closed
Bug Type: MySQL related
Operating System: Windows XP
PHP Version: 5.0.0RC1
New Comment:
Ok, it works great !
I test it with apache 1.3.29 and 2.0.49
Thanks
Previous Comments:
------------------------------------------------------------------------
[2004-04-07 05:19:47] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
And make sure you delete ALL old php related dlls from your system
before you install the snapshot.
------------------------------------------------------------------------
[2004-04-02 12:47:35] codejysper at lesitedejp dot com
In my case, php_mysql.dll and libmysql.dll MUST be copied in C:\WINNT.
If these files are copied in 'C:\Program Files\Apache Group\Apache'
where we can find apache.exe, then apache crashes unexpectedly (process
returns 1067 error code).
------------------------------------------------------------------------
[2004-04-02 09:29:57] marwan at marvonline dot org
Did you copy libmysql.dll to where apache can find it? Either the
system32 directory or in the same folder as apache itself.
------------------------------------------------------------------------
[2004-03-30 01:51:39] mathieuparent at infonie dot fr
# Note if I run 'net start apache' many times, sometimes it work's.
No it crashes everytime as well as doing ..\Apache.exe
------------------------------------------------------------------------
[2004-03-30 01:44:14] mathieuparent at infonie dot fr
Description:
------------
When I use Apache & Mysql services without mysql extension in php, no
problem.
But if I uncomment ";extension=mysql" in php.ini, apache crashes.
I have php5rc1, apache 1.3.29, mysql 4.0.18, WinXP SP1.
With the default php.ini. (-recommended).
I think that one dll is not at the good place (but which).
Reproduce code:
---------------
>net stop apache
uncomment ";extension=mysql" in php.ini
>net start apache
Expected result:
----------------
Apache shouldn't crash.
Note if I run 'net start apache' many times, sometimes it work's.
(sorry it is not a good report)
Actual result:
--------------
Error :
|szAppName : Apache.exe
|szModName : php5ts.dll
|szModVer : 5.0.0.0 offset : 0003c773
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27768&edit=1
Thread (7 messages)