Re: Apache 2.0.28
| From: | Tyler Longren | Date: | Sat, 17 Nov 2001 23:56:39 +0000 |
| Subject: | Re: Apache 2.0.28 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75017@lists.php.net to get a copy of this message | ||
Hello,
I tried compiling apache 2.0.28 w/ php 4.0.6. Here's how I did it:
Install apache:
./configure --prefix=/usr/local/apache2 --enable-module=so
make
make install
Install PHP:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-xml
--disable-debug --enable-track-vars
make
PHP fails on the make command. Here's the error message:
make[3]: Entering directory `/root/packages/devel/php-4.0.6/sapi/apache'
/bin/sh /root/packages/devel/php-4.0.6/libtool --silent --mode=compile
cc -I. -I/root/packages/devel/php-4.0.6/sapi/apache -I/root/packages/devel/
php-4.0.6/main -I/root/packages/devel/php-4.0.6 -I/usr/local/apache2/include
-I/root/packages/devel/php-4.0.6/Zend -I/root/packages/devel/php-4.0.6/ext/
mysql/libmysql -I/root/packages/devel/php-4.0.6/ext/xml/expat/xmltok -I/root
/packages/devel/php-4.0.6/ext/xml/expat/xmlparse -I/root/packages/devel/php-
4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c sapi_apache.c
sapi_apache.c: In function `apache_php_module_main':
sapi_apache.c:80: `NOT_FOUND' undeclared (first use in this function)
sapi_apache.c:80: (Each undeclared identifier is reported only once
sapi_apache.c:80: for each function it appears in.)
make[3]: *** [sapi_apache.lo] Error 1
make[3]: Leaving directory `/root/packages/devel/php-4.0.6/sapi/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/packages/devel/php-4.0.6/sapi/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/packages/devel/php-4.0.6/sapi'
make: *** [all-recursive] Error 1
Know how to fix/why that happens?
Thanks,
Tyler Longren
----- Original Message -----
From: "Vincent Stoessel" <vincent@xaymaca.com>
To: "Jobarr" <jobarr@herzeleid.SPAMKILLER.com>
Cc: <php-windows@lists.php.net>; <php-general@lists.php.net>
Sent: Saturday, November 17, 2001 9:51 AM
Subject: Re: [PHP] Apache 2.0.28
> The current php will work with apache 2.x
> use: --with-apxs2
> when you configure php
>
> Jobarr wrote:
>
> > I need a build of PHP that can be used as a module with Apache 2.0.28
beta.
> > Anyone know where I could find one?
> >
> > thanks
> > -Jobarr
> >
> >
> >
> >
>
>
> --
> Vincent Stoessel vincent@xaymaca.com
> Java Linux Apache Mysql Php (JLAMP) Engineer
> (301) 362-1750 Mobile (410) 419-8588
> AIM, MSN: xaymaca2020 , Yahoo Messenger: vks_jamaica
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>