Bug #61172 [PATCH]: With Apache 2.4.1, ./configure fails on APXS but stops only on the MySQL check.

From: Date: Fri, 24 Feb 2012 19:20:05 +0000
Subject: Bug #61172 [PATCH]: With Apache 2.4.1, ./configure fails on APXS but stops only on the MySQL check.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-167801@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61172&edit=1

 ID:                 61172
 Patch added by:     sixd@php.net
 Reported by:        antoine dot bajolet at tdf dot fr
 Summary:            With Apache 2.4.1, ./configure fails on APXS but
                     stops only on the MySQL check.
 Status:             Open
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Linux 3.2.6 glibc 2.11.3
 PHP Version:        5.3.10
 Block user comment: N
 Private report:     N

 New Comment:

The following patch has been added/updated:

Patch Name: bug61172.patch.txt
Revision:   1330111204
URL:        https://bugs.php.net/patch-display.php?bug=61172&patch=bug61172.patch.txt&revision=1330111204


Previous Comments:
------------------------------------------------------------------------
[2012-02-24 15:12:05] jpauli@php.net

Same problem here, apxs -q doesn't handle MPM anymore because of DSOs MPM in 
Apache 2.4, I get a ZTS PHP at final whatever happens (no errors)

The patch works fine, I suggest we merge it to 5.3 and 5.4 branches

------------------------------------------------------------------------
[2012-02-24 06:11:08] antoine dot bajolet at tdf dot fr

The patch works fine, thanks.

PHP compiles to the end.

(Note I didn't change anything about mysql and i have no configure failure anymore).

Regards,
AB

------------------------------------------------------------------------
[2012-02-24 00:49:37] sixd@php.net

Try the attached patch:

patch < bug61172.patch.txt
rm configure config.cache autom4ate.*
./buildconf --force
./configure ....

------------------------------------------------------------------------
[2012-02-24 00:44:52] sixd@php.net

The following patch has been added/updated:

Patch Name: bug61172.patch.txt
Revision:   1330044292
URL:        https://bugs.php.net/patch-display.php?bug=61172&patch=bug61172.patch.txt&revision=1330044292

------------------------------------------------------------------------
[2012-02-23 22:31:33] johannes@php.net

This issue:

checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
configure: error: Cannot find libmysqlclient_r under /usr/local/mysql.
Note that the MySQL client library is not bundled anymore!

Can be fixed by making sure that oyur MySQL installation contains the thread-safe version of
libmysql or by using --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=myslqnd to use the
PHP-specific mysqlnd library.

This won't solve the actual bug, though as you'll get a thread-safe PHP which one probably
won't like as apxs -q MPM_NAME is not returning "prefork" (but an error)

------------------------------------------------------------------------


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

    https://bugs.php.net/bug.php?id=61172


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61172&edit=1


Thread (11 messages)

« previous php.bugs (#167801) next »