I am trying to connect with an Informix database using PHP. I have installed the latest Informix SDK, and successfully built PHP using --with-informix. When running configure, I see:
checking for Informix support... yes
checking Informix version... 290
Running make and make install are successful. I have followed the instructions as best I can at:
http://us2.php.net/manual/en/ref.ifx.php
When using DB and supplying the proper database information, with:
$dsn = 'ifx://'.$user.':'.$pass.'@'.$host.$db_name;
DB returns:
DB Error: extension not found
When calling any of the ifx functions, such as ifx_pconnect(), I get:
PHP Fatal error: Call to undefined function: ifx_pconnect() in /usr/local/apache/...
I cannot figure out why PHP is not able to access the Informix functions. Does anybody know what I am doing wrong? Any help would be GREATLY appreciated.