|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68533 configure-option --with-mysql-sock is ignored with --with-mysqli
Submitted: 2014-12-01 13:56 UTC Modified: -
Avg. Score:3.0 ± 0.0
Reproduced:2 of 3 (66.7%)
Same Version:0 (0.0%)
Same OS:2 (100.0%)
From: hsk at imb-jena dot de Assigned:
Status: Open Package: *Compile Issues
PHP Version: 5.6.3 OS: any
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-12-01 13:56 UTC] hsk at imb-jena dot de
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


patch-configure-mysql-sock (last revision 2015-12-09 17:14 UTC by nvizovitin at odin dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-06-02 08:03 UTC] eesau at oeoe dot fi
This bug is in the PHP 5.4.41 version too.
 [2015-12-09 17:19 UTC] 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.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Jan 17 06:01:22 2021 UTC