|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61250 php_mysqlnd_config.h not found
Submitted: 2012-03-02 19:25 UTC Modified: 2012-03-03 15:10 UTC
From: iamhiddensomewhere at gmail dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.4.0 OS: Linux 2.6.32-5-amd64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: iamhiddensomewhere at gmail dot com
New email:
PHP Version: OS:


 [2012-03-02 19:25 UTC] iamhiddensomewhere at gmail dot com
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-
                 from /opt/phpfarm/src/php-
                 from /opt/phpfarm/src/php-5.4.0/ext/mysqli/mysqli.c:34:
error: ./php_mysqlnd_config.h: No such file or directory
make: *** [mysqli.lo] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-02 20:38 UTC] iamhiddensomewhere at gmail dot com
mysqlnd wasn't enabled via --enable-mysqlnd, this bug is now invalid.
 [2012-03-02 20:38 UTC] iamhiddensomewhere at gmail dot com
-Status: Open +Status: Closed
 [2012-03-03 15:10 UTC]
-Status: Closed +Status: Not a bug
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Mar 28 19:03:41 2023 UTC