php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19780 APXS returns 1 on usage info
Submitted: 2002-10-06 11:16 UTC Modified: 2002-10-07 18:44 UTC
From: pentanitrogen at yahoo dot com Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.2.3 OS: Linux 2.4.19
Private report: No CVE-ID: None
 [2002-10-06 11:16 UTC] pentanitrogen at yahoo dot com
When the ./configure script checks for apxs(2), it sees if the script returns 0 for it's return value; however, apxs for apache2 returns 1 for usage info...look at this code snippet:

sub usage {     
    print STDERR "Usage: apxs -g [-S <var>=<val>] -n <modname>\n";
    [...]
    exit(1);
}

This causes ./configure to stop when compiling with Apache2


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-07 12:46 UTC] sniper@php.net
Huh? What apache2 version? And what configure line was used?

 [2002-10-07 12:53 UTC] pentanitrogen at yahoo dot com
Apache 2.0.43 (the newest release)

./configure  --with-gd --with-xml --with-mysql --with-gettext --with-mcrypt --with-imap --enable-ftp --with-openssl --with-apxs2=/apache2/bin/apxs
 [2002-10-07 18:33 UTC] sniper@php.net
I doubt this to be any bug in PHP..what error message do you
get with PHP configure?  (you're the first to report something like this)

Also, try running 'apxs -h' and see if you get any errors.

 [2002-10-07 18:44 UTC] pentanitrogen at yahoo dot com
I don't know what happened...I just tried this again and it worked..Closing, probably user error :(
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 13:01:32 2024 UTC