ID: 45066
User updated by: dirk at bean-it dot nl
Reported By: dirk at bean-it dot nl
Status: Open
Bug Type: MySQL related
Operating System: Linux x86
PHP Version: 5.2.6
New Comment:
Just had the same problem on an 686... really puzzling, because the
machine is virtually the same as a machine without the problem. Same
distro, same mysql libs...?
This is the last past of a strace output of sapi/cli/php -i. It hangs
forever after this.
munmap(0x2b233bd99000, 266240) = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2b233bd99000
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) =
0
futex(0x2b233c5ef5e0, FUTEX_WAIT, 2, NULL
Previous Comments:
------------------------------------------------------------------------
[2008-05-22 15:05:55] dirk at bean-it dot nl
Description:
------------
When I try to compile PHP 5.2.6 with the following options:
--with-apxs2=/usr/bin/apxs2
--with-mysql=/usr
--with-mysqli=/usr/bin/mysql_config
On a x86 machine, I get a not working php. Make test doesn't return
anything, make install will work, but just typing php -v at the command
line hangs forever.
On a i386 machine, same OS (debian etch), same mysql libs, same all, no
problem.
This problem started in php-5.2.4, 5.2.3 is the last php that will
result in a succesfull working php after compilation on x86. The problem
does not exist when not using --with-apxs2
Reproduce code:
---------------
./configure --with-apxs2=/usr/bin/apxs2 --with-mysql=/usr
--with-mysqli=/usr/bin/mysql_config
Expected result:
----------------
A working php...
Actual result:
--------------
A non-responsive php :-(
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45066&edit=1