|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
27 - 7 = ?
Subscribe to this entry?

 [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: Sat Apr 01 08:03:37 2023 UTC