|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66970 php_mysqlnd_config.h does not exist
Submitted: 2014-03-27 18:01 UTC Modified: 2017-04-06 09:56 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: brian dot gaber at ssc dot gc dot ca Assigned:
Status: Open Package: Compile Failure
PHP Version: 5.5.10 OS: AIX
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: brian dot gaber at ssc dot gc dot ca
New email:
PHP Version: OS:


 [2014-03-27 18:01 UTC] brian dot gaber at ssc dot gc dot ca
ext/mysqlnd/mysqlnd_portability.h contains this code:

#if defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(WIN32)
#  include "ext/mysqlnd/config-win.h"
#  include <ext/mysqlnd/php_mysqlnd_config.h>
#endif /* _WIN32... */

Unfortunately ext/mysqlnd/php_mysqlnd_config.h does not exist.

When I compile on AIX the make fails with this statement:

"/home/downloads/php-5.5.10/ext/mysqlnd/mysqlnd_portability.h", line 40.12: 1506-296 (S) #include file <ext/mysqlnd/php_mysqlnd_config.h> not found.
make: *** [ext/mysqli/mysqli.lo] Error 1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-03-31 17:59 UTC] brian dot gaber at ssc dot gc dot ca
I was able to successfully compile PHP 5.5.10 on AIX 7.1 following these procedures:

Compile environment:

export CC="xlc"
export CFLAGS="-qmaxmem=2097152 -DSYSV -D_AIX -D_AIX61 -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include"
export CXX="xlC"
export LD=ld
export LDFLAGS="-L/opt/freeware/lib"
export OBJECT_MODE=64

configure statement:

./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-mysqli \
--with-pdo-mysql \
--without-pdo-sqlite \
--without-sqlite3 \
--with-libxml-dir=/opt/freeware \
--with-zlib-dir=/opt/freeware \
--with-ldap \
--enable-mbstring \

After successful configure I modified the Makefile as follows:

append to PHP_CLI_OBJS this text $(PHP_BINARY_OBJS)
append to PHP_CGI_OBJS this text main/internal_functions.lo

Use gmake instead of AIX make:

 [2017-04-02 14:49 UTC]
-Package: mysql +Package: MySQLi related
 [2017-04-06 09:56 UTC]
-Package: MySQLi related +Package: Compile Failure
 [2017-04-06 09:56 UTC]
This doesn't seem to be related to MySQL but the AiX build tool chain, somehow.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Feb 25 05:01:26 2024 UTC