|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17903 problem with php_function.c
Submitted: 2002-06-21 12:08 UTC Modified: 2002-06-22 04:21 UTC
From: ab at msedv dot at Assigned:
Status: Closed Package: *Compile Issues
PHP Version: 4.2.1 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
13 - 2 = ?
Subscribe to this entry?

 [2002-06-21 12:08 UTC] ab at msedv dot at

Yesterday I was on the way to install a new lamp system.

BUT during the compilation of php 4.2.1 a problem came up.

ich compiled php with the configure command: --with-apxs2....

and got this:

/bin/sh /tmp/source/php-4.2.1/libtool --silent --mode=compile gcc -I.
-I/tmp/source/php-4.2.1/main -I/tmp/source/php-4.2.1
-I/usr/local/apache/2.0.39/include -I/tmp/source/php-4.2.1/Zend
-I/temp-source/php-4.2.1/etc/xml/expat -D_REENTRANT

-I/tmp/source/php-4.2.1/TSRM -DTHREAD=1 -g -02 -pthread -DZTS -prefer-pic
-c php_functions.c
php_functions.c:93:27: missing binary operator before '!'
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory '/tmp/source/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/source/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/source/php-4.2.1/sapi'
make: *** [all-recursive] Error 1

now: what's the matter? excuse me sir, but there is no line 93 in my
php_functions.c file - i hope i can read error-msgs :-) -

can you help me please ?!!

alex braumann.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-21 15:16 UTC] kcarmich at ipapp dot com
should be 
 [2002-06-21 15:22 UTC] ab at msedv dot at

i've read this in a report before, but the funny thing is, that there is no line like that, or send me to the doctor...
 [2002-06-21 18:42 UTC] kcarmich at ipapp dot com
line 93 of 
should read
#if !AP_MODULE_MAGIC_AT_LEAST(20020506,0)

the old definition of MODULE_MAGIC_AT_LEAST has been altered to force people to update their code to use the new proper macro.
 [2002-06-22 04:21 UTC]
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at In case this was a documentation 
problem, the fix will show up soon at
In case this was a website problem, the change will show
up on the site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.

 [2002-07-25 12:56 UTC] a dot p dot mcdermott at rl dot ac dot uk
Just discovered this bug myself today and fixed the file as per the instructions contained here. As with the original poster we used the configure option --with-apxs2. However (a) we are using Solaris 8 so it is not an OS specific bug and (b) we have downloaded php 4.2.2 (as the posting here predates the release I would have expected the fix mentioned here to have been merged into 4.2.2).

Could you confirm that it really has been committed to CVS and that the change to php_function.c will be seen in future releases of php, please?
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Feb 04 00:03:40 2023 UTC