Bug #68533 [Opn->Csd]: configure-option --with-mysql-sock is ignored with --with-mysqli
| From: | cmb@php.net | Date: | Thu, 11 Feb 2021 17:47:17 +0000 |
| Subject: | Bug #68533 [Opn->Csd]: configure-option --with-mysql-sock is ignored with --with-mysqli | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-232074@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
Updated by: cmb@php.net
Reported by: hsk at imb-jena dot de
Summary: configure-option --with-mysql-sock is ignored with
--with-mysqli
-Status: Open
+Status: Closed
Type: Bug
Package: *Compile Issues
Operating System: any
PHP Version: 5.6.3
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This is fixed[1] as of PHP 7.0.0.
[1] <https://github.com/php/php-src/commit/7fa10095603ae03f0028041620ffe80375a1c84c>
Previous Comments:
------------------------------------------------------------------------
[2015-12-09 17:19:25] nvizovitin at odin dot com
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.
------------------------------------------------------------------------
[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