#45776 [Com]: apache2 crashes without file (any file!) named php5ts.dll in %windir%
[email protected] ("sskaje at gmail dot com")
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <[email protected]> |
ID: 45776
Comment by: sskaje at gmail dot com
Reported By: sskaje at gmail dot com
Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows XP sp3
PHP Version: 5.3CVS-2008-08-10 (snap)
Assigned To: pajoye
New Comment:
This is a snapshot for that popup message.
http://img227.imageshack.us/my.php?image=qqxp9.png
I am on a Simplified Chinese OS, so translating(not sure it is what i
am going to type below):
title: httpd.exe - application error
message body:
Memory offset(?) "0x00000006" referred by instruction
"0x022723a1". Data on this address cant be 'read'.
Click OK to terminate the program.
Click Cancel to debug the program.
Previous Comments:
------------------------------------------------------------------------
[2008-08-10 15:24:04] [email protected]
> Pierre, your build stuff is fubar.
Works on XP, 2k8, 2k3 and Vista. With apache 2.2 and 2.0.
Be sure to have a clean install without old dlls lying around.
> Otherwise there is a popup error when i have windows started
What says this popup?
------------------------------------------------------------------------
[2008-08-10 15:13:32] [email protected]
Pierre, your build stuff is fubar.
------------------------------------------------------------------------
[2008-08-10 08:10:53] sskaje at gmail dot com
Description:
------------
Windows xp + apache 2.2.9 + php 5.3.0-dev
In httpd.conf, i have following configuration for php:
[code]
# For PHP 5 do something like this:
LoadModule php5_module "h:/server/php53/php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
# configure the path to php.ini
PHPIniDir "h:/server/php53"
[/code]
On php5.3, i have to copy php53\php5ts.dll to %windir%. Otherwise there
is a popup error when i have windows started which has apache crashed on
starting up(i have apache2 installed as a system service and have it
running automatically ), and when i tried to start apache again with
'httpd -k start', a similar error was popup-ed.
So, %windir%\php5ts.dll of php5.3 seems to be necessary, but when i
have php5ts.dll cp-ed to \windows and then apache running, i can remove
%windir%\php5ts.dll as i want.
Hmm, that makes me feel that the php5ts.dll under %windir% is not
necessary as it looks like. So i took a test:
[code]
C:\WINDOWS>
C:\WINDOWS>move php5ts.dll _php5ts.dll
C:\WINDOWS>echo > php5ts.dll
C:\WINDOWS>dir *php5*
Çý¶¯Æ÷ C ÖеľíûÓбêÇ©¡£
¾íµÄÐòÁкÅÊÇ E854-17BC
C:\WINDOWS µÄĿ¼
2008-08-10 16:05 21 php5ts.dll
2008-07-31 23:42 5,251,128 _php5ts.dll
2 ¸öÎļþ 5,251,149 ×Ö½Ú
0 ¸öĿ¼ 20,189,646,848 ¿ÉÓÃ×Ö½Ú
C:\WINDOWS>type php5ts.dll
ECHO ´¦ÓÚ´ò¿ª×´Ì¬¡£
C:\WINDOWS>httpd -k restart
Warning: DocumentRoot [H:/SVN/newborn/pages] does not exist
C:\WINDOWS>
[/code]
It works normally as it should be.
The conclusion is, i dont really have a php5ts.dll copied to %windir%,
but i have, at least, a file named php5ts.dll there, no matter what is
in it, if i wanna my apache+php5.3 work
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45776&edit=1