php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5293 PHP configure script causes error when attempting to use APXS
Submitted: 2000-06-30 22:51 UTC Modified: 2000-08-18 18:55 UTC
From: jspeer at wtexchange dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.1 OS: RedHat 6.2 (Zoot) -- Kernel 2.2.
Private report: No CVE-ID: None
 [2000-06-30 22:51 UTC] jspeer at wtexchange dot com
PHP 4.0.1 Compile Options
--with-apxs=/usr/local/apache/bin/apxs
--with-servlet=/usr/local/JSDK2.0
--enable-safe-mode
--enable-calendar
--enable-ftp
--without-gd
--with-java=/usr/local/jdk1.2.2
--with-mysql
--with-openssl=/usr/local/ssl
--enable-inline-optimization

Apache 1.3.12 Compile Options
--prefix=/usr/local/apache

Error
--snippit--
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache module support via DSO through APXS... 
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: Sorry, I cannot run apxs. Either you need to install Perl or you need to pass the absolute path of apxs by using --with-apxs=/absolute/path/to/apxs

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-27 19:57 UTC] waldschrott@php.net
Please verify that it?s still happening using the latest version of PHP (release 4.0.1pl2 or CVS).
 [2000-08-18 18:55 UTC] sniper@php.net
Check this:

http://www.php.net/FAQ.php#6.11

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 07:00:02 2026 UTC