php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49494 php5apache2.dll not present in zip or msi
Submitted: 2009-09-08 04:26 UTC Modified: 2013-11-20 08:25 UTC
From: webmaster at pnmx dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5.3.0 OS: Vista
Private report: No CVE-ID: None
 [2009-09-08 04:26 UTC] webmaster at pnmx dot com
Description:
------------
php5papache2.dll mentioned in install.txt is not part of distributions 
on php.net.  A couple of third party sources offer the dll, but their 
trustworthiness in unknown.  Would prefer to download the file from 
php.net, the apache project, or at worst from sourceforge.

Please don't say this doesn't indicate a bug in PHP.  Duh!  It's a bug 
in the distribution of PHP.  That should matter too.  This problem has 
been in every Windows version of PHP that I've ever installed.  Why does 
it keep recurring?

Reproduce code:
---------------
Download and install php5.3 using either the Windows msi installer or by unpacking the 5.3 zip archive.  In both cases, there is no php5papache2.dll or similar in the install directory.

Expected result:
----------------
php5papache2.dll available from php.net, ideally installed along with 
other elements of the configuration.

Actual result:
--------------
php5papache2.dll is not available from a trustworthy site.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-08 04:40 UTC] webmaster at pnmx dot com
FYI, there's no php5apache2_2.dll present either.  There is a php5.dll 
but if you change httpd.conf to load that file, you get:

Can't locate API module structure `php5_module' in file 
D:/Programs/PHP5.3/php5.dll

So it's clearly not just misnamed.
 [2009-09-08 09:36 UTC] pajoye@php.net
Download the thread safe version of our releases.

NTS is for FastCGI and other non thread safe SAPI. Apache requires a thread safe SAPI.
 [2009-09-08 16:15 UTC] webmaster at pnmx dot com
The VC9 x86 Thread Safe php 5.3 does not have the 2_2 dll, but the snapshot of the same version does!  That's what I'm using now.
 [2009-09-08 16:24 UTC] pajoye@php.net
Wrong, it has both the normal module and the filter module:

php5apache2_2.dll
php5apache2_2_filter.dll


 [2009-09-08 18:02 UTC] webmaster at pnmx dot com
Yep.  Found the php5apache2_2.dll in the VC9 ThreadSafe release alright. 
But Apache httpd doesn't like it.  httpd started right up with the 
current snapshot.  I don't know what's different, but Apache likes the 
snapshot - doesn't like the released version.
 [2009-09-08 18:10 UTC] pajoye@php.net
I suppose you got apache from apache.org right? Then use the VC6 thread build. Or use apachelounge.com's version. There is no difference between the snapshot and the release version, the same libraries are used.
 [2012-01-09 20:23 UTC] alder dot gav at gmail dot com
Weird; version is 5.3.8 now, but issue is still in place. there is only php5.dll 
and no dll for apache.

will look for 3rd party source now.

please investigate. thank you
 [2012-01-10 05:30 UTC] pajoye@php.net
Download the thread safe version, nts has not apache support.
 [2013-11-20 06:49 UTC] new dot registersh at hotmail dot com
Now we met another issue, wincache. This module seems only support non-thread safe mode.

So nts has no apache support, but it is required by wincache. So what can we do? Why there always is such a mess in php world!
 [2013-11-20 08:25 UTC] pajoye@php.net
What does wincache has to do with the core releases?

You can use APC, opcache, apcu with Apache's mod_php. Or use fastcgi with Apache, which will give you NTS with apache and wincache as well.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC