php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19957 Cannot use 4.2.3 dll, but 4.3.0-dev instead
Submitted: 2002-10-17 11:15 UTC Modified: 2002-10-17 12:31 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: pootri at hotmail dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.2.3 OS: Win2000
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: pootri at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-10-17 11:15 UTC] pootri at hotmail dot com
Since many people encounter the same problem with 4.2.3 & 2.0.43 on windows environment, I'm just wondering if this is a bug. This solution works well, but does it mean, we can't use 4.2.3, but only 4.3.0-dev?

----

 Another possible method 
Dear frustrated friends: 

After nearly two years, I finally felt compelled to upgrade Apache from 1.3 (I think) to 2.0.43, as well as upgrade my PHP build (last update in June). 

Anyway - like many others, I was having major problems with Apache loading the module. I tried all of the suggestions in this thread, as well as from other sites, but to no avail (but they certainly lead me in the right direction.) 

The following is what I ended up getting to work: 

- Uninstalled old Apache 
- Removed old PHP 
- Installed Apache 2.0.43 (c:/servers/Apache2) - performed basic static server configuration 
- Installed/Configured PHP 4.2.3 (c:/php) 
- Added the following to Apache's httpd.conf 

LoadModule php4_module c:/php/sapi/php4apache2.dll 
AddType application/x-httpd-php .php 

- Tried running apache (it failed) 
- Replaced c:/php/sapi/php4apache2.dll (from 4.2.3 build) with php4apache2.dll (4.3.0 pre build) 
- Tried running apache (it failed) 
- Replaced %SYSTEMROOT%/php4ts.dll (4.2.3 build) with php4ts.dll (4.3.0 pre build) 
- Tried running apache (it failed) 
- Removed %SYSTEMROOT%/php4ts.dll 
- Copied the 4.3.0 pre build of php4ts.dll to c:/php/sapi 
- Tried running apache (it worked!!) 

All I can figure is that Apache was not searching for the php4ts.dll dependency properly, but I don't really know. However, I am sure that neither php4apache2.dll nor php4ts.dll from the 2.4.3 build worked in any configuration. I only had luck after replacing those files with the ones from the 4.3.0 pre build. 

I'd be interested to hear if someone had the same situation as myself, and found my method to work... maybe I'm just odd ;-) 

Good luck! 

-Aaron


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-17 12:31 UTC] sniper@php.net
Like said already many many times, Apache2 is one moving target still. You really should use Apache 1.3.x instead.
Or just live with dev-versions of PHP for now.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 11:01:29 2024 UTC