From:
Operating system: Linux 2.6.32-5-amd64
PHP version: 5.4.0
Package: MySQL related
Bug Type: Bug
Bug description:php_mysqlnd_config.h not found
Description:
------------
Trying to build ext/pdo_mysql or ext/mysqli (phpize && ./configure && make
&& make
install) doesn't work (there are various references to ext/mysqlnd which
should be
../mysqlnd) but after fixing those broken references there's a file missing
which
is called from an include statement.
At ext/mysqlnd/mysqlnd_portability.h:40 the file 'php_mysqlnd_config.h' is
referenced but nowhere to be found. This prevents ext/pdo_mysql or
ext/mysqli from
being built.
Expected result:
----------------
Compiling ext/pdo_mysql or ext/mysqli successfully.
Actual result:
--------------
make fails with (for example)
In file included from /opt/phpfarm/src/php-
5.4.0/ext/mysqli/../mysqlnd/mysqlnd.h:60,
from /opt/phpfarm/src/php-
5.4.0/ext/mysqli/php_mysqli_structs.h:42,
from /opt/phpfarm/src/php-5.4.0/ext/mysqli/mysqli.c:34:
/opt/phpfarm/src/php-5.4.0/ext/mysqli/../mysqlnd/mysqlnd_portability.h:40:36:
error: ./php_mysqlnd_config.h: No such file or directory
make: *** [mysqli.lo] Error 1
--
Edit bug report at https://bugs.php.net/bug.php?id=61250&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=61250&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=61250&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=61250&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=61250&r=fixed
Fixed in SVN and need be documented:
https://bugs.php.net/fix.php?id=61250&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=61250&r=alreadyfixed
Need backtrace:
https://bugs.php.net/fix.php?id=61250&r=needtrace
Need Reproduce Script:
https://bugs.php.net/fix.php?id=61250&r=needscript
Try newer version:
https://bugs.php.net/fix.php?id=61250&r=oldversion
Not developer issue:
https://bugs.php.net/fix.php?id=61250&r=support
Expected behavior:
https://bugs.php.net/fix.php?id=61250&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=61250&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=61250&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=61250&r=globals
PHP 4 support discontinued:
https://bugs.php.net/fix.php?id=61250&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61250&r=dst
IIS Stability:
https://bugs.php.net/fix.php?id=61250&r=isapi
Install GNU Sed:
https://bugs.php.net/fix.php?id=61250&r=gnused
Floating point limitations:
https://bugs.php.net/fix.php?id=61250&r=float
No Zend Extensions:
https://bugs.php.net/fix.php?id=61250&r=nozend
MySQL Configuration Error:
https://bugs.php.net/fix.php?id=61250&r=mysqlcfg