php.net |  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: -
Votes:3
Avg. Score:3.0 ± 0.0
Reproduced:2 of 2 (100.0%)
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
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


Patches

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

History

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-2019 The PHP Group
All rights reserved.
Last updated: Mon Jun 24 23:01:25 2019 UTC