Skip to content

Compile Informix native client with PHP

June 30, 2012

1. Download php5.2.0 code.
wget route/

2. Uncompress it.

3. Go to the informix extension folder.
cd php-5.2.0/ext/informix/

4. Compile the extension.
make install

5. Create an informix.ini file on php conf.d directory
nano /etc/php5/conf.d/informix.ini

6. Add the extension to the file

7. Restart apache
/etc/init.d/apache2 restart

8. To make sure that informix extension is installed and acepted by php:
php -m

There you see the php modules:
[PHP Modules]

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: