Doc #72158 [NEW]: Wrong description of option --mysql
| From: | ck at bru6 dot de | Date: | Wed, 04 May 2016 15:15:33 +0000 |
| Subject: | Doc #72158 [NEW]: Wrong description of option --mysql | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-13442@lists.php.net to get a copy of this message | ||
From: ck at bru6 dot de
Operating system:
PHP version: 5.6.21
Package: MySQL related
Bug Type: Documentation Problem
Bug description:Wrong description of option --mysql
Description:
------------
---
From manual page: http://www.php.net/mysqlinfo.library.choosing
---
The value for the option --mysql is *not* the complete path of the
mysql_config script - entering that gives the error "MySQL header not
found". The correct value here is rather the directory containing the
"include" path to mysql.h. So if mysql.h is in /usr/local/include, the
value of the --mysql option should be "/usr/local".
Or, in the words of ./configure --help:
--with-mysql=DIR Include MySQL support. DIR is the MySQL base
directory, if no DIR is passed or the value
is
mysqlnd the MySQL native driver will be used
However, --with-mysqli wants the path to mysql_config here. That seems a
bit inconsistent.
--
Edit bug report at https://bugs.php.net/bug.php?id=72158&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72158&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72158&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72158&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=72158&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=72158&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=72158&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=72158&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=72158&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=72158&r=support
Expected behavior: https://bugs.php.net/fix.php?id=72158&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=72158&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=72158&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=72158&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72158&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=72158&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=72158&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=72158&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72158&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=72158&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=72158&r=mysqlcfg