php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27348 Apache won't start with PHP extensions
Submitted: 2004-02-22 08:50 UTC Modified: 2004-02-25 00:21 UTC
From: sergeys at avalon dot ru Assigned:
Status: Closed Package: Apache related
PHP Version: 5.0.0b4 (beta4) OS: Windows XP En
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
24 + 4 = ?
Subscribe to this entry?

 
 [2004-02-22 08:50 UTC] sergeys at avalon dot ru
Description:
------------
I use Apache 1.3.29 on Windows XP (Apache used as a service) with PHP5b4 as Apache module. Everything goes right until I try to use any extension (tested with php_mysql.dll and some other). In that case Apache won't start and OS shows Error Reporting Window with info, that error occurs in Apache.exe in module php5ts.dll (sorry, didn't write down the memory offset value).
Sometimes it helps taking the following actions:
1. comment the "extension=..." line
2. start Apache (it starts normally with no PHP extensions)
3. uncomment the "extension=..." line
4. restart (NOT stop then start) Apache (everything goes right, phpinfo() shows "PHP 5 beta 4" used and MySQL extension loaded).


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-22 18:57 UTC] helly@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
 [2004-02-25 00:21 UTC] sergeys at avalon dot ru
Unfortunately, using the recommended CVS snapshot leads to worse results. Apache won't start at all, even without any PHP extensions. The error information, reported by Windows, is following:
szAppName - Apache.exe, 
szAppVer - 0.0.0.0, 
szModName - php5ts.dll, 
szModVer - 5.0.0.0,
offset - 0003c1f3

It might be a problem of my software or hardware configuration, but php4(up to 4.3.4) works properly.
 [2004-03-25 04:11 UTC] john dot haan at chello dot nl
A workaround that seems to work for me is to remove the httpd.pid-file that apache leaves behind after a coredump.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 12:01:31 2024 UTC