php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45776 apache2 crashes without file (any file!) named php5ts.dll in %windir%
Submitted: 2008-08-10 08:10 UTC Modified: 2009-01-09 06:33 UTC
From: sskaje at gmail dot com Assigned: pajoye (profile)
Status: Closed Package: Reproducible crash
PHP Version: 5.3CVS-2008-08-10 (snap) OS: Windows XP sp3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sskaje at gmail dot com
New email:
PHP Version: OS:

 

 [2008-08-10 08:10 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-10 15:13 UTC] jani@php.net
Pierre, your build stuff is fubar.
 [2008-08-10 15:24 UTC] pajoye@php.net
> 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-13 23:21 UTC] sskaje at gmail dot com
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.
 [2008-08-18 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-01-09 06:33 UTC] sskaje at gmail dot com
k
this error on longer happened since the next snapshot version that day
thx.


sskaje
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 11:01:32 2025 UTC