#19780 [Opn->Fbk]: APXS returns 1 on usage info

From: Date: Mon, 07 Oct 2002 23:34:00 +0000
Subject: #19780 [Opn->Fbk]: APXS returns 1 on usage info
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21758@lists.php.net to get a copy of this message
ID: 19780 Updated by: sniper@php.net Reported By: pentanitrogen@yahoo.com -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Linux 2.4.19 PHP Version: 4.2.3 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-10-07 12:53:29] pentanitrogen@yahoo.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 12:46:00] sniper@php.net Huh? What apache2 version? And what configure line was used? ------------------------------------------------------------------------ [2002-10-06 11:16:23] pentanitrogen@yahoo.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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19780&edit=1

« previous php.bugs (#21758) next »