#27768 [Com]: Apache crashes with Mysql
| From: | codejysper at lesitedejp dot com | Date: | Fri, 02 Apr 2004 17:47:36 +0000 |
| Subject: | #27768 [Com]: Apache crashes with Mysql | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57403@lists.php.net to get a copy of this message | ||
ID: 27768
Comment by: codejysper at lesitedejp dot com
Reported By: mathieuparent at infonie dot fr
Status: Open
Bug Type: MySQL related
Operating System: Windows XP
PHP Version: 5.0.0RC1
New Comment:
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).
Previous Comments:
------------------------------------------------------------------------
[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