php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18691 PHP fails to compile (apache2, imap)
Submitted: 2002-08-01 16:14 UTC Modified: 2002-08-01 16:28 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: mikeg at bsd-box dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.2 OS: FreeBSD 4.6-STABLE
Private report: No CVE-ID: None
 [2002-08-01 16:14 UTC] mikeg at bsd-box dot net
Compiling PHP after configuring with the following options:

./configure --prefix=/usr/home/www --with-apxs2=/home/www/bin/apxs --with-pgsql --with-openssl --enable-sockets --enable-sysvshm --enable-sysvsem --enable-tokenizer --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-xpm-dir=/usr/local --with-zlib --enable-ftp --with-tsrm-pth --with-imap

The compile fails in sapi/apache2filter/php_functions.c
line 93 (an #if directive).

This is a compile with apache httpd-2.0.39 and PHP 4.2.2
(virgin download from the FTP site) on FreeBSD 4.6-STABLE
(cvsup and recompiled last night).

Commenting out the offending block of code (the #if....#endif) gets things compiling again.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-01 16:22 UTC] mikeg at bsd-box dot net
Forgot to mention - this began happening after I added IMAP support to my PHP build.  Builds without IMAP (to my knowledge - I haven't checked with the guy who did the last set of builds and he doesn't leave logs) worked fine.
 [2002-08-01 16:28 UTC] kalowsky@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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 15:00:01 2026 UTC