PHP 5.5.8 and PDO Informix 1.3.1 Installation Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi

I'm trying to get PDO Informix working on a new system with PHP 5.5.8 and I can't seem to get PHP to recognize the driver.

Here are my system Specs:

Red Hat Enterprise Linux Server release 6.2 (Santiago)
PHP 5.5.8 (cli) (built: Feb  5 2014 20:12:40)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
PDO_INFORMIX-1.3.1
Informix SDK
       IBM Informix Client SDK and IBM Informix Connect 3.50.xC9, August 2011
Apache
       Server version: Apache/2.4.7 (Unix)
       Server built:   Feb  5 2014 11:07:53
       Server's Module Magic Number: 20120211:27
       Server loaded:  APR 1.5.0, APR-UTIL 1.5.3
       Compiled using: APR 1.5.0, APR-UTIL 1.5.3

I'm able to connect to my Informix server with PERL, so I'm confident the SDK is working properly.

I've tried both methods of getting PHP to recognize the Informix driver.

Method 1:
	Install PHP without the flag with-pdo_informix
		ie.  Configure, make, make install
	Install PDO Informix
		ie.  Configure -with-pdo-informix=/sdkdir, make, make install

Method 2:
	Install PHP with flag with-pdo_informix
		ext_skel -extname=pdo_informix
		buildconf
		configure
		make install

I've added the file /etc/php.d/pdo_informix.ini
I've updated /etc/sysconfig/httpd

phpinfo has all the correct env variables set for Informix.  It also shows the pdo_informix section, but there is no line of data below it and the PDO drivers only shows sqlite.

The error_log file does not show any errors.

Any suggestions on how to get PHP to recognize the driver would be greatly appreciated.
	



Joel A. Lamb 
joel.lamb@xxxxxxx 






[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux