Hi,
i need help with compiling PHP with MYSQL Support under AIX 5.3. I am not realy a Specialist in Compile Programs, it is my first Project.
I have download the following Archives: mysql-5.0.45-aix5.2-powerpc-64bit and php-5.2.4
MYSQL is installed and works fine, if i compile PHP with this command:
./configure --prefix=/usr/local --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf --with-gd --with-pear --with-gettext --with-mime-magic --with-zlib-dir=/opt/freeware/lib --enable-shared --disable-static --with-png --with-zlib --with-bz2 --with-xml --with-jpeg-dir=/opt/freeware/lib --with-png-dir=/opt/freeware/lib --with-xpm-dir=/opt/freeware/lib --with-freetype-dir=/opt/freeware/lib
it works also (phpinfo())
But for our Aplication i need the MYSQL Support for PHP, so i try to compile with this command:
./configure --prefix=/opt --with-apxs2=/opt/apache2/bin/apxs --with-config-file-path=/opt/apache2/conf --with-gd --with-pear --with-gettext --with-mime-magic --with-mysql=./ext/mysql --with-mysqli=./ext/mysql --with-zlib-dir=/opt/freeware/lib --enable-shared --disable-static --with-png --with-zlib --with-bz2 --with-xml --with-jpeg-dir=/opt/freeware/lib --with-png-dir=/opt/freeware/lib --with-xpm-dir=/opt/freeware/lib --with-freetype-dir=/opt/freeware/lib > /data/install/php.log
Now i become the following Meaasge:
configure: error: Cannot find MySQL header files under ./ext/mysql.
Note that the MySQL client library is not bundled anymore!
Now i was copy the files from "mysql-5.0.45-aix5.2-powerpc-64bit/lib" and from "mysql-5.0.45-aix5.2-powerpc-64bit/include" to "php-5.2.4/ext" but i become the same error.
Can some one help me to fix it.
Regards
Mikri
i need help with compiling PHP with MYSQL Support under AIX 5.3. I am not realy a Specialist in Compile Programs, it is my first Project.
I have download the following Archives: mysql-5.0.45-aix5.2-powerpc-64bit and php-5.2.4
MYSQL is installed and works fine, if i compile PHP with this command:
./configure --prefix=/usr/local --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf --with-gd --with-pear --with-gettext --with-mime-magic --with-zlib-dir=/opt/freeware/lib --enable-shared --disable-static --with-png --with-zlib --with-bz2 --with-xml --with-jpeg-dir=/opt/freeware/lib --with-png-dir=/opt/freeware/lib --with-xpm-dir=/opt/freeware/lib --with-freetype-dir=/opt/freeware/lib
it works also (phpinfo())
But for our Aplication i need the MYSQL Support for PHP, so i try to compile with this command:
./configure --prefix=/opt --with-apxs2=/opt/apache2/bin/apxs --with-config-file-path=/opt/apache2/conf --with-gd --with-pear --with-gettext --with-mime-magic --with-mysql=./ext/mysql --with-mysqli=./ext/mysql --with-zlib-dir=/opt/freeware/lib --enable-shared --disable-static --with-png --with-zlib --with-bz2 --with-xml --with-jpeg-dir=/opt/freeware/lib --with-png-dir=/opt/freeware/lib --with-xpm-dir=/opt/freeware/lib --with-freetype-dir=/opt/freeware/lib > /data/install/php.log
Now i become the following Meaasge:
configure: error: Cannot find MySQL header files under ./ext/mysql.
Note that the MySQL client library is not bundled anymore!
Now i was copy the files from "mysql-5.0.45-aix5.2-powerpc-64bit/lib" and from "mysql-5.0.45-aix5.2-powerpc-64bit/include" to "php-5.2.4/ext" but i become the same error.
Can some one help me to fix it.
Regards
Mikri