php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20737 PHP has Apache 2 support?
Submitted: 2002-11-30 12:30 UTC Modified: 2002-11-30 20:01 UTC
From: glen dot mules at verizon dot net Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 4.3.0RC2 OS: Red Hat Linux 7.3
Private report: No CVE-ID: None
 [2002-11-30 12:30 UTC] glen dot mules at verizon dot net
While configuring 4.3.0RC2 for Apache 2.0.43 (may as well try the latest with the latest, on my first attempt to compile PHP):
---


checking for Apache 1.x module support via DSO through APXS...

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of /opt/SOFTWARE/apache-2.0/httpd-2.0.43/support/apxs follows
./configure: /opt/SOFTWARE/apache-2.0/httpd-2.0.43/support/apxs: /usr/bin/perl: bad interpreter: Permission denied
configure: error: Aborting

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-30 12:32 UTC] glen dot mules at verizon dot net
Perl is configured (5.6.1).  The directory for APXS is correct.  Apache was configured with DSO support.
 [2002-11-30 12:33 UTC] derick@php.net
/usr/bin/perl: bad interpreter: Permission denied

says it all. Not a bug in PHP -> bogus

Derick
 [2002-11-30 12:36 UTC] glen dot mules at verizon dot net
/usr/bin/perl -v

gives appropriate response.  Thus appears to be valid perl interpreter.
 [2002-11-30 12:39 UTC] glen dot mules at verizon dot net
And, regardless, assuming that PHP has Apache 2 support, the wording in the installation should be changed from

     ... Apache 1.x module ...

No?  It is somewhat misleading to someone hitting another bug and wondering whether Apache 2 is supported.
 [2002-11-30 12:41 UTC] glen dot mules at verizon dot net
Since I am commenting anyway, where can one get the PHP-Bug reporting system software.  It is rather good.
 [2002-11-30 12:52 UTC] msopacua@php.net
> And, regardless, assuming that PHP has Apache 2 support, > the wording in the installation should be changed from
>
>     ... Apache 1.x module ...

That should actually give you a hint.

Did you use --with-apxs= or --with-apxs2= ?
 [2002-11-30 18:36 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.
 [2002-11-30 20:01 UTC] philip@php.net
Maybe INSTALL should have a small note regarding apache 2.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC