ID:               15572
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         *Compile Issues
 Operating System: Solaris 8
 PHP Version:      4.1.1
 New Comment:

I apologize to Ralf & everyone!  It's my (cached) configuration
mistake.  Ralf's fix is good.  Thanks Ralf!

-Adam


Previous Comments:
------------------------------------------------------------------------

[2002-03-04 12:47:40] [EMAIL PROTECTED]

Patch applied in CVS, this will be in 4.2.x

Derick

------------------------------------------------------------------------

[2002-03-04 12:04:18] [EMAIL PROTECTED]

Same exact problem but the fix didn't help me.  Same thing happens for
4.1.1 and 4.1.2.  Also on Solaris 7.

I just get the apxs usage message.

Note:  Currently running Apache 1.3.22 and PHP 4.1.0, in case remnants
from those could be hosing it.

------------------------------------------------------------------------

[2002-02-15 11:14:30] [EMAIL PROTECTED]


A little glitch in sapi/apache/config.m4 causes the apxs check of
working -S option to fail. Although the compile succeeds the
installation isn't performed correctly, at least not when using
INSTALL_ROOT.

The patch included below fixes the problem.

regards, Ralf Nyrén

diff -ur php-4.1.1.orig/sapi/apache/config.m4
php-4.1.1/sapi/apache/config.m4
--- php-4.1.1.orig/sapi/apache/config.m4        Mon Nov 19 01:52:02
2001
+++ php-4.1.1/sapi/apache/config.m4     Fri Feb 15 15:22:47 2002
@@ -41,7 +41,7 @@
   PHP_SAPI=apache
 
   # Test whether apxs support -S option
-  $APXS -q -S CFLAGS=$APXS_CFLAGS CFLAGS >/dev/null 2>&1
+  $APXS -q -S CFLAGS="$APXS_CFLAGS" CFLAGS >/dev/null 2>&1
 
   if test "$?" != "0"; then
     APACHE_INSTALL="$APXS -i -a -n php4 $SAPI_SHARED" # Old apxs does
not have -S option


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15572&edit=1

Reply via email to