php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20777 will not find apache2 apxs
Submitted: 2002-12-02 18:49 UTC Modified: 2002-12-04 09:50 UTC
From: imiller at bsd dot uchicago dot edu Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.0RC2 OS: Solaris 8
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: imiller at bsd dot uchicago dot edu
New email:
PHP Version: OS:

 

 [2002-12-02 18:49 UTC] imiller at bsd dot uchicago dot edu
./configure --with-apxs2=/www/bin/apxs
just testing 

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 module support via DSO through APXS... 

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /www2/bin/apxs follows:
Usage: apxs -g [-S <var>=<val>] -n <modname>
       apxs -q [-S <var>=<val>] <query> ...
       apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
               [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>]
               [-Wl,<flags>] <files> ...
       apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
       apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
configure: error: Aborting
bash-2.05# perl
asdf
^C
bash-2.05# perl -v

This is perl, v5.6.1 built for sun4-solaris

Copyright 1987-2001, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

bash-2.05# 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-02 18:52 UTC] sniper@php.net
You're using /www/bin/apxs but showing the output of /www2/bin/apxs, so which one is the right one?

 [2002-12-03 14:48 UTC] imiller at bsd dot uchicago dot edu
Sorry I typed the message wrong it is 
/www2/bin/apxs
 [2002-12-04 01:57 UTC] sniper@php.net
This works just fine here. Must be something wrong in your apache2 install. (update it, it's most likely too old or you're really trying to configure with apache1)

 [2002-12-04 03:24 UTC] philip@php.net
Tell us what this says: /www2/bin/apxs -q INCLUDEDIR
 [2002-12-04 09:50 UTC] imiller at bsd dot uchicago dot edu
You are right I reinstalled apache and everything works now
strange..........
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 22:01:33 2024 UTC