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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Wed Apr 01 09:01:22 2020 UTC