|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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 Feb 07 14:03:41 2023 UTC