php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17864 Won't compile with Apache2
Submitted: 2002-06-20 01:40 UTC Modified: 2002-06-20 01:43 UTC
From: davidd at datasphereweb dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 4.2.1 OS: FreeBSD 4.6RC
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: davidd at datasphereweb dot com
New email:
PHP Version: OS:

 

 [2002-06-20 01:40 UTC] davidd at datasphereweb dot com
I recently upgraded my Apache2 to the newest 2.0.39 in order to fix the recent Apache security exploit. I installed this from the ports collection after CVSuping this afternoon.

I then tried to restart Apache and got some weird error that I don't remember the exact text from. Something about a sapi something or other being out of date. It was something PHP related.

Anyways, I tried to install the latest PHP from the ports, 4.2.1, using 'make -WITH_APACHE2=YES' and I get the following error:
Making all in apache2filter
/bin/sh /usr/ports/www/mod_php4/work/php-4.2.1/libtool --silent --mode=compile cc  -I. -I/usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter -I/usr/ports/www/mod_php4/work/php-4.2.1/main -I/usr/ports/www/mod_php4/work/php-4.2.1 -I/usr/local/include/apache2 -I/usr/ports/www/mod_php4/work/php-4.2.1/Zend -I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/local/include -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/xml/expat  -D_REENTRANT -D_THREAD_SAFE -I/usr/ports/www/mod_php4/work/php-4.2.1/TSRM -I/usr/local/include/pth -O -pipe -I/usr/local/include -pthread -DZTS -prefer-pic  -c sapi_apache2.c
/bin/sh /usr/ports/www/mod_php4/work/php-4.2.1/libtool --silent --mode=compile cc  -I. -I/usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter -I/usr/ports/www/mod_php4/work/php-4.2.1/main -I/usr/ports/www/mod_php4/work/php-4.2.1 -I/usr/local/include/apache2 -I/usr/ports/www/mod_php4/work/php-4.2.1/Zend -I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/local/include -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/xml/expat  -D_REENTRANT -D_THREAD_SAFE -I/usr/ports/www/mod_php4/work/php-4.2.1/TSRM -I/usr/local/include/pth -O -pipe -I/usr/local/include -pthread -DZTS -prefer-pic  -c apache_config.c
/bin/sh /usr/ports/www/mod_php4/work/php-4.2.1/libtool --silent --mode=compile cc  -I. -I/usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter -I/usr/ports/www/mod_php4/work/php-4.2.1/main -I/usr/ports/www/mod_php4/work/php-4.2.1 -I/usr/local/include/apache2 -I/usr/ports/www/mod_php4/work/php-4.2.1/Zend -I/usr/local/include/c-client -I/usr/local/include/mysql -I/usr/local/include -I/usr/ports/www/mod_php4/work/php-4.2.1/ext/xml/expat  -D_REENTRANT -D_THREAD_SAFE -I/usr/ports/www/mod_php4/work/php-4.2.1/TSRM -I/usr/local/include/pth -O -pipe -I/usr/local/include -pthread -DZTS -prefer-pic  -c php_functions.c
php_functions.c:93: syntax error
*** Error code 1

Stop in /usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter.
*** Error code 1

Stop in /usr/ports/www/mod_php4/work/php-4.2.1/sapi/apache2filter.
*** Error code 1

Stop in /usr/ports/www/mod_php4/work/php-4.2.1/sapi.
*** Error code 1

Stop in /usr/ports/www/mod_php4/work/php-4.2.1.
*** Error code 1

Stop in /usr/ports/www/mod_php4.
*** Error code 1

I took out the 3 lines from php_functions.c that it was puking on and it seemed to compile and work fine.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-20 01:42 UTC] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
 [2002-06-20 01:43 UTC] sniper@php.net
I guess reading the information given at the report page
is not in fashion anymore..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 07:01:28 2024 UTC