php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #65159 Misleading configure help text for --with-mysql-sock
Submitted: 2013-06-28 14:42 UTC Modified: 2013-07-22 06:15 UTC
From: tom dot lake at glossa dot co dot uk Assigned: stas (profile)
Status: Closed Package: PHP options/info functions
PHP Version: 5.5.0 OS: Linux Fedora 18
Private report: No CVE-ID: None
 [2013-06-28 14:42 UTC] tom dot lake at glossa dot co dot uk
Description:
------------
./configure --help 

produces 

  --with-mysql-sock=DIR   MySQL/MySQLi/PDO_MYSQL: Location of the MySQL unix soc
ket pointer.


The use of DIR is misleading. Please change DIR to SOCK.



Test script:
---------------
./configure --help | grep with-mysql-sock

Expected result:
----------------
  --with-mysql-sock=SOCK   MySQL/MySQLi/PDO_MYSQL: Location of the MySQL unix soc
ket pointer.

Actual result:
--------------
  --with-mysql-sock=DIR   MySQL/MySQLi/PDO_MYSQL: Location of the MySQL unix soc
ket pointer.

Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-22 06:15 UTC] stas@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: stas
 [2013-07-22 06:15 UTC] stas@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

fixed by 1b4103c09d552c48275564c459122b67d34a9d1a in 5.4
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jun 01 23:01:24 2020 UTC