php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16774 php4apache.dll
Submitted: 2002-04-23 19:17 UTC Modified: 2002-04-23 20:39 UTC
From: slowhandz at netscape dot net Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.2.0 OS: Windows 98 SE
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: slowhandz at netscape dot net
New email:
PHP Version: OS:

 

 [2002-04-23 19:17 UTC] slowhandz at netscape dot net
Tried updrading to the new Apache and
PHP releases on Windows 98 SE as follows:


Apache 2.0.35 [3.1M] - 09-Apr-2002 - MSI Installer Package
http://www.apache.org/dist/httpd/binaries/win32/apache_2.0.35-win32-x86-no_ssl.msi

PHP 4.2.0 [4,898Kb]  - 22 April 2002
http://ca.php.net/do_download.php?download_file=php-4.2.0-Win32.zip


Installed Apache into c:\apache2 and
extracted the PHP zip into c:\php.


1. Copied php4ts.dll (1,004 KB) into c:\windows\system.

2. Copied all the dll's from the c:\php\dlls folder into c:\windows\system.

3. Copied php.ini-dist into c:\windows and renamed php.ini.

4. Extension_dir directive in php.ini is set to: "c:\php\extensions"
   NOTE: ALL extensions are commented out in php.ini - NOTHING LOADED!

5. Added the following lines to httpd.conf:

   LoadModule php4_module c:/php/sapi/php4apache.dll

   AddType application/x-httpd-php .php .php3 .phtml
   AddType application/x-httpd-php-source .phps

6. Start Apache from command line:

   C:\Apache2\bin>apache

   Syntax error on line 947 of C:/Apache2/conf/httpd.conf:
   Cannot load C:/PHP/sapi/php4apache.dll into server:
   One of the library files needed to run this application cannot be found.

What the... Syntax error ???

It's definitely having a problem with php4apache.dll.

I then tried copying php4apache.dll into C:\Apache2\modules
and changed the LoadModule to read:

   LoadModule php4_module modules/php4apache.dll

Same error message? 

If I'm not mistaken, this DLL was experimental in RC4...

My guess is that it's still wacked!?

Steve



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-23 19:25 UTC] sniper@php.net
You're using wrong dll. it's called 'apache2filter.dll' and it can be found in the experimental folder in the zip.

 [2002-04-23 20:39 UTC] slowhandz at netscape dot net
Where exactly was that documented?

I didn't see anything about
'apache2filter.dll' anywhere!
 [2002-04-26 16:43 UTC] luna at enst dot fr
If it can help, I tried to make an installation doc at:
http://137.194.8.83/ATSEC/PHP4Apache2Windows.html
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 09 00:03:37 2021 UTC