Bug #68533 [Com]: configure-option --with-mysql-sock is ignored with --with-mysqli
| From: | nvizovitin at odin dot com | Date: | Wed, 09 Dec 2015 17:19:29 +0000 |
| Subject: | Bug #68533 [Com]: configure-option --with-mysql-sock is ignored with --with-mysqli | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-197744@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68533&edit=1
ID: 68533
Comment by: nvizovitin at odin dot com
Reported by: hsk at imb-jena dot de
Summary: configure-option --with-mysql-sock is ignored with
--with-mysqli
Status: Open
Type: Bug
Package: *Compile Issues
Operating System: any
PHP Version: 5.6.3
Block user comment: N
Private report: N
New Comment:
Attached patch-configure-mysql-sock that fixes the problem, IMO. The patch was created against
php-5.6.14.
Please note that this issue actually affects any MySQL-related extension that uses --with-mysql-sock
option, including both MySQLi and PDO_MYSQL.
Previous Comments:
------------------------------------------------------------------------
[2015-06-02 08:03:16] eesau at oeoe dot fi
This bug is in the PHP 5.4.41 version too.
------------------------------------------------------------------------
[2014-12-01 13:56:47] hsk at imb-jena dot de
Description:
------------
configure-option --with-mysql-sock is documented as "MySQL/MySQLi/PDO_MYSQL: Location of the
MySQL unix socket pointer", but gets ignored (i.e., no "#define PHP_MYSQL_UNIX_SOCK_ADDR
..." in config.status or php_config.h) if only --with-mysqli is specified (i.e. without
--with-mysql)
configure seems to process option --with-mysql-sock only if also --with-mysql is specified
while it would be easy to change the documentation :-), configure-script should be changed /
enhanced to honour --with-mysql-sock in every case
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68533&edit=1