php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14706 Apache won't load php4apache.dll
Submitted: 2001-12-26 18:42 UTC Modified: 2001-12-28 08:54 UTC
From: daniel dot steylemans at advalvas dot be Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.1.0 OS: Windows 98 SE
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: daniel dot steylemans at advalvas dot be
New email:
PHP Version: OS:

 

 [2001-12-26 18:42 UTC] daniel dot steylemans at advalvas dot be
Apache can't start because it cannot load php4apache.dll.

I installed PHP 4.1.0 and Apache 1.3.22 (both cases: .msi install files).

Syntax error on line 1 of c:/program files/apache group/apache/conf/httpd.conf:
Cannot load c:/program files/php/sapi/php4apache.dll into server: (31) Un p?riph?rique attach? au syst?me ne fonctionne pas correctement:

(Translation of last line: "a peripherial attached to the system doesn't work properly").

Apache website analyze this as a problem with PHP.

The other .dll's (from php/dll directory) have been copied in windows\system _and_ in windows\system32.

The command line in Apache config file is:
LoadModule php4_module c:/progra~1/php/sapi/php4apache.dll

Apache finds the .dll at the correct place (tested).

If I delete the command line, Apache works fine (tested), but PHP won't work...

I tried to replace php4apache.dll with the one provided with PHP 1.0.6 but it doesn't help.

Thank you for helping.

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-27 05:51 UTC] sander@php.net
Ask support questions at php-general@lists.php.net

Hint: you should copy php4ts.dll to windows/system (system32 on NT-based versions of Windows)
 [2001-12-27 10:21 UTC] daniel dot steylemans at advalvas dot be
php4ts.dll was already in windows\system (and in windows\system32), like all the other dlls. This doesn't work.
 [2001-12-28 08:54 UTC] daniel dot steylemans at advalvas dot be
I uninstalled and reinstalled Apache and PHP for the 3rd time.

Now, when I test the Apache configuration, it says:

e:/root/apache group/apache/conf/httpd.conf: Syntax OK
[Fri Dec 28 14:51:44 2001] [error] Cannot remove module mod_php4.c: not found in module list

...But it seems to work fine!
Problem solved by some kind of miracle.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Sep 08 01:01:28 2024 UTC