Hi All,
I need help installing PHP-5.2.6 with informix support on RHEL-5.
I have installed Apache --Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8b DAV/2 PHP/5.2.6
I have used the following script to install PHP
Code:
wget http://us3.php.net/get/php-5.2.6.tar.gz/from/us.php.net/mirror ;
tar -zxvf php-5.2.6.tar.gz
cd php-5.2.6
./buildconf --force
./configure \
--prefix=/usr/local/apache2/php \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-config-file-path=/usr/local/apache2/php/conf \
--with-gd \
--with-png-dir=/usr/lib \
--with-jpeg-dir=/usr/lib \
--with-zlib \
--with-zlib-dir=/usr/lib \
--with-freetype \
--enable-gd-native-ttf \
--with-mssql \
--with-openssl=/usr/local/ssl \
--enable-shmop \
--enable-sockets \
--enable-sysvshm \
--with-curl \
--with-curlwrappers \
--with-pfpro=/usr/local/verisign/payflowpro/linuxrh9 \
--enable-xml \
--enable-pdo \
--with-pdo-informix=/home/informix \
--enable-shared
make
make test
make install
I do not encounter any error during the installation.
When I try to execute PHP which connects to Informix, i get the following error:
Fatal error: Call to undefined function ifx_connect() in /usr/local/apache2/htdocs/dbfuncs.inc on line 86
Please help.
Thanks,
Sanjiv