php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5044 ps4ts.dll crashes when apache tries to access page (apache 1.3.12)
Submitted: 2000-06-15 00:46 UTC Modified: 2000-06-17 17:31 UTC
From: fowle at erols dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.0 Release OS: Windows 98 first edition
Private report: No CVE-ID: None
 [2000-06-15 00:46 UTC] fowle at erols dot com
Foremost, I'm running php 4 final, apache 1.3.12 under Windows 98 first edition.  And I'm having the exact same problem as lloyd@eglean.com.  Apache pops up a little PHP crashed dialog box whenever I try accessing a page.

I'm fairly sure I've confiugred everything properly.  There is no official install for php4 under windows (manual is still only at php3) but I'm 99% sure that everything is configured properly.  The only semi non-standard thing is that my files are all located on the G: drive.  I have apache under g:/web/server/apache, php under g:/web/server/php and the site itself under g:/web/epsilon.

I've got the following (PHP related) lines in httpd.conf:
ScriptAlias /php/ "G:/Web/Server/Php/"
AddType application/x-httpd-php .php .php3 .php4 .phtml
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "/php/php.exe"
#Action application/x-httpd-php3 "/php/php.exe"

I also tried screwing around with some other variations of the above. Adding full paths, shortening paths, changing slashes this way and that, adding extra slashes, removing slashes, various other little things. (the previous was done only out of desperation.  Do not try this at home, or at all).  Nothing worked.

My php.ini file is fairly standard issue.  A couple minor changes, but no big options changed.  No extensions enabled.  Nada.  

Heres the full error, as if anyone can understand what it means.  Pulling information out of windows crashes is harder than reading the matrix.
PHP caused an invalid page fault in
module PHP4TS.DLL at 015f:100765d6.
Registers:
EAX=48544150 CS=015f EIP=100765d6 EFLGS=00010202
EBX=0000000e SS=0167 ESP=0063fcc8 EBP=00784940
ECX=00760c10 DS=0167 ESI=00760570 FS=61a7
EDX=4152545f ES=0167 EDI=00654240 GS=0000
Bytes at CS:EIP:
89 02 8b 06 85 c0 74 06 8b 4e 04 89 48 04 56 ff 
Stack dump:
00784959 007603e0 100033c9 00760580 00000001 007603e0 0063fdc4 00760c20 007603e0 007605ba 00762060 0000000f 004030dc 0000000f 000004e4 0063fdc4 

The only "fix" I've found is to go down to version 3 *shudder*

Thanks!
Matt

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-17 17:31 UTC] andi at cvs dot php dot net
Please grab http://toye.php.net/~zeev/php-4.0.1-dev-Win32-June16.zip
The crash bug should be fixed now. Make sure that you either set doc_root in your php.ini file or that your Apache DocumentRoot is set to the correct directory.
If you still encounter this bug then please open a new bug report. (Make sure you erase all old php4ts.dll's from your system before using the new version).
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Sep 29 21:05:53 2022 UTC