php.net |  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: 2024-07-13 22:14 UTC
Votes:1
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: petk (profile)
Status: Closed Package: Compile Failure
PHP Version: 5.5.10 OS: AIX
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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
Description:
------------
ext/mysqlnd/mysqlnd_portability.h contains this code:

#if defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(WIN32)
#  include "ext/mysqlnd/config-win.h"
#else 
#  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


Patches

Pull Requests

History

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 CXXFLAGS=$CFLAGS
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 \
--enable-opcache=no

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:

/opt/freeware/bin/make
 [2017-04-02 14:49 UTC] tpunt@php.net
-Package: mysql +Package: MySQLi related
 [2017-04-06 09:56 UTC] johannes@php.net
-Package: MySQLi related +Package: Compile Failure
 [2017-04-06 09:56 UTC] johannes@php.net
This doesn't seem to be related to MySQL but the AiX build tool chain, somehow.
 [2024-07-13 22:14 UTC] petk@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: petk
 [2024-07-13 22:14 UTC] petk@php.net
Hello, this bug probably won't appear in similar form because the php_mysqlnd_config.h file has been removed along the changes done during the PHP branches since PHP 5.5. If you experience similar issues, please report a bug on https://github.com/php/php-src/issues

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 13 05:01:27 2024 UTC