note 23084 added to install.apache
| From: | freeeebsd at yahoo dot com | Date: | Tue, 09 Jul 2002 07:10:22 +0000 |
| Subject: | note 23084 added to install.apache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32781@lists.php.net to get a copy of this message | ||
FreeBSD 4.6, PHP 4.2.1, Apache 2.0.39
Getting errors simliar to a few other folks above.
What I did:
First installed Apache, which is working.
Then tried PHP:
dev# ./configure --with-mysql --with-apxs2=/usr/apache/bin/apxs
dev# make
Errors I get in return:
/bin/sh /drive2/software/php-4.2.1/libtool --silent --mode=compile gcc -I.
-I/drive2/software/php-4.2.1/sapi/apache2filter -I/drive2/software/php-4.2.1/main
-I/drive2/software/php-4.2.1 -I/usr/apache/include -I/drive2/software/php-4.2.1/Zend
-I/drive2/software/php-4.2.1/ext/mysql/libmysql -I/drive2/software/php-4.2.1/ext/xml/expat
-D_REENTRANT -D_THREAD_SAFE -I/drive2/software/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
-prefer-pic -c php_functions.c
php_functions.c:93: syntax error
*** Error code 1
Stop in /drive2/software/php-4.2.1/sapi/apache2filter.
*** Error code 1
Stop in /drive2/software/php-4.2.1/sapi/apache2filter.
*** Error code 1
Stop in /drive2/software/php-4.2.1/sapi.
*** Error code 1
Stop in /drive2/software/php-4.2.1.
Any one know what is going on?? I've also had similar issues with RedHat Linux 7.2.
What the heck?
Thanks
--
http://www.php.net/manual/en/install.apache.php
http://master.php.net/manage/user-notes.php?action=edit+23084
http://master.php.net/manage/user-notes.php?action=delete+23084
http://master.php.net/manage/user-notes.php?action=reject+23084