ID: 40728 Updated by: [EMAIL PROTECTED] Reported By: sheezes at gmail dot com -Status: Open +Status: Feedback Bug Type: *Compile Issues Operating System: AIX 5.3 PHP Version: 5.2.1 New Comment:
>I think the PHP team should look into that bug PHP team IS looking into the bug, but we can't fix it without your answers. What kind of shell are you using? I mean /bin/sh - what is it? Previous Comments: ------------------------------------------------------------------------ [2007-03-07 13:18:59] sheezes at gmail dot com Finally I can say.....WORKING :D I forgot that on the last compile I changed something on the apxs script. Well, I changed it back and run the configure and make commands and now the libphp5.so is working and not crashing my apache server! If someone has the same problems as I have, add to the APACHE_VERSION expression 2000000 (on the php configure script) and then the script won't crash saying the apache version is 1.3 and should use normal apxs instead of the apxs2. I think the PHP team should look into that bug, as you said, it should discover my version alone without those changes and thanks for your help Tony! :) ------------------------------------------------------------------------ [2007-03-07 12:02:10] [EMAIL PROTECTED] > I added 2000000 to the expresion This shouldn't be required. What kind of shell are you using? I mean /bin/sh. >When I try to start apache it quits and dump a core file. A GDB backtrace would tell why. http://bugs.php.net/bugs-generating-backtrace.php ------------------------------------------------------------------------ [2007-03-07 11:56:00] sheezes at gmail dot com the APACHE_VERSION var value is 61 (added an echo and an exit command on the configure script). I added 2000000 to the expresion and now I managed to run configure with the apxs2 option that I couldn't before! Well, it runs fine and even compiling the libphp5.so file! It's a great progress but I'm not sure the compilation is 100% working :/ When I try to start apache it quits and dump a core file. When I remove the PHP AddModule statement from the httpd.conf, apache is fine again :/ ------------------------------------------------------------------------ [2007-03-07 08:26:23] [EMAIL PROTECTED] The other possible cause might be broken shell used in configure, though I haven't ever heard of such problems. PHP uses this macro to extract Apache version: ac_output=`/path/to/httpd -v 2>&1 | grep version` ac_IFS=$IFS IFS="- /. " set $ac_output IFS=$ac_IFS APACHE_VERSION=`expr $4 \* 1000000 + $5 \* 1000 + $6` Make sure it works for you. ------------------------------------------------------------------------ [2007-03-07 08:15:44] sheezes at gmail dot com yea, i saw that bug report. I reported it actually but this case is a bit diffrent. I decided to leave the other machine running aix 5.2 and IBMIHS (IBM's httpd) because the problem I reported. Anyway, this machine is running AIX 5.3 and original apache 2.0.59 (not that IBM httpd modification) and this time I'm not getting exactly the same errors I got in the other machine (LIBPATH etc). You saw the config.log? you saw anything unusual in it? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40728 -- Edit this bug report at http://bugs.php.net/?id=40728&edit=1