473,557 Members | 2,830 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Php Informix Connect

Hello,

I want to connect my intranet server (with php/apache) to the other
informix database server,
But I didnt it. I dont know how i can do it?

Can i use php_informix extensions for example ifx_connect();

I was read this article: http://www-128.ibm.com/developerwork...ier/index.html
and doing step one step but i was not success.

Firstly I reading this page and copy PDO_INFORMIX to Php.5.3/ext/
pdo_informix directory.
Before i was download Php.5.2.3 source code and compiled Php.5.2.3
from the source code ./configure --enable-pdo --with-pdo-informix=/opt/
informix bla bla... then make / make install it.
But that not found informix driver to /opt/informix
shuold I download and setup Informix Client SDK ? to /opt/informix
directory
My Intranet Server Fetaures
Fedora Core 6 and Php 5.2.3 and Apache 2

can anyone help me?
I shoud connect this database server.
If you could to informix database server contact with me please.

I'am sad for bad english.
Thank you everything

Jul 5 '07 #1
14 11627
Khan wrote:
Hello,

I want to connect my intranet server (with php/apache) to the other
informix database server,
But I didnt it. I dont know how i can do it?

Can i use php_informix extensions for example ifx_connect();
I haven't done it in a long time... before PDO was released.
I was read this article: http://www-128.ibm.com/developerwork...ier/index.html
and doing step one step but i was not success.
Seems a step by step article... You should continue.
Firstly I reading this page and copy PDO_INFORMIX to Php.5.3/ext/
pdo_informix directory.
Before i was download Php.5.2.3 source code and compiled Php.5.2.3
from the source code ./configure --enable-pdo --with-pdo-informix=/opt/
informix bla bla... then make / make install it.
But that not found informix driver to /opt/informix
shuold I download and setup Informix Client SDK ? to /opt/informix
directory
Yes. It's one of the steps in the article you mentioned. PDO will require the
informix libraries. Keep following the article and if you have any issues come
back here.
can anyone help me?
Hopefully yes.
I shoud connect this database server.
If you could to informix database server contact with me please.
What I can do for the moment is assure you it can be done and has been done by
a lot of people.

I'am sad for bad english.
It's a problem for all of us, non natives... But I could understand you
perfectly... maybe because my english is bad also :)

Regards,

--
Fernando Nunes
Portugal

http://informix-technology.blogspot.com
My email works... but I don't check it frequently...
Jul 5 '07 #2
Fernando Nunes wrote:
Khan wrote:
>Hello,

I want to connect my intranet server (with php/apache) to the other
informix database server,
But I didnt it. I dont know how i can do it?

Can i use php_informix extensions for example ifx_connect();

I haven't done it in a long time... before PDO was released.
>I was read this article:
http://www-128.ibm.com/developerwork...ier/index.html

and doing step one step but i was not success.

Seems a step by step article... You should continue.
Just one note... The article expects you to install the Informix server.
(it references the tests with onstat etc.). Skip that part. You just need the
client side product (CSDK). You already have the server.

It's in the article, but I leave it here: the csdk can be downloaded from
http://www-306.ibm.com/software/data...downloads.html

Check the other answer someone left. It's more detailed.

Regards.
--
Fernando Nunes
Portugal

http://informix-technology.blogspot.com
My email works... but I don't check it frequently...
Jul 5 '07 #3
On 5 Temmuz, 15:30, Fernando Nunes <s...@domus.onl ine.ptwrote:
Khan wrote:
Hello,
I want to connect my intranet server (with php/apache) to the other
informix database server,
But I didnt it. I dont know how i can do it?
Can i use php_informix extensions for example ifx_connect();

I haven't done it in a long time... before PDO was released.
I was read this article:http://www-128.ibm.com/developerwork...rticle/dm-0606...
and doing step one step but i was not success.

Seems a step by step article... You should continue.
Firstly I reading this page and copy PDO_INFORMIX to Php.5.3/ext/
pdo_informix directory.
Before i was download Php.5.2.3 source code and compiled Php.5.2.3
from the source code ./configure --enable-pdo --with-pdo-informix=/opt/
informix bla bla... then make / make install it.
But that not found informix driver to /opt/informix
shuold I download and setup Informix Client SDK ? to /opt/informix
directory

Yes. It's one of the steps in the article you mentioned. PDO will require the
informix libraries. Keep following the article and if you have any issues come
back here.
can anyone help me?

Hopefully yes.
I shoud connect this database server.
If you could to informix database server contact with me please.

What I can do for the moment is assure you it can be done and has been done by
a lot of people.
I'am sad for bad english.

It's a problem for all of us, non natives... But I could understand you
perfectly... maybe because my english is bad also :)

Regards,

--
Fernando Nunes
Portugal

http://informix-technology.blogspot.com
My email works... but I don't check it frequently...
Thank you for your cooperate and interesting :)
I will try everyone :)
thank you a lot

Jul 5 '07 #4
Fernando Nunes wrote:
Khan wrote:
>Hello,

I want to connect my intranet server (with php/apache) to the other
informix database server,
But I didnt it. I dont know how i can do it?

Can i use php_informix extensions for example ifx_connect();

I haven't done it in a long time... before PDO was released.
>I was read this article:
http://www-128.ibm.com/developerwork...ier/index.html

and doing step one step but i was not success.

Seems a step by step article... You should continue.
>Firstly I reading this page and copy PDO_INFORMIX to Php.5.3/ext/
pdo_informix directory.
Before i was download Php.5.2.3 source code and compiled Php.5.2.3
from the source code ./configure --enable-pdo --with-pdo-informix=/opt/
informix bla bla... then make / make install it.
But that not found informix driver to /opt/informix
shuold I download and setup Informix Client SDK ? to /opt/informix
directory

Yes. It's one of the steps in the article you mentioned. PDO will
require the informix libraries. Keep following the article and if you
have any issues come back here.
>can anyone help me?

Hopefully yes.
>I shoud connect this database server.
If you could to informix database server contact with me please.

What I can do for the moment is assure you it can be done and has been
done by a lot of people.

>I'am sad for bad english.

It's a problem for all of us, non natives... But I could understand you
perfectly... maybe because my english is bad also :)

Regards,
And BTW - both of your English is much better than many Americans I
know! :-)

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jul 5 '07 #5
On 5 Temmuz, 20:08, Jerry Stuckle <jstuck...@attg lobal.netwrote:
Fernando Nunes wrote:
Khan wrote:
Hello,
I want to connect my intranet server (with php/apache) to the other
informix database server,
But I didnt it. I dont know how i can do it?
Can i use php_informix extensions for example ifx_connect();
I haven't done it in a long time... before PDO was released.
I was read this article:
http://www-128.ibm.com/developerwork...rticle/dm-0606...
and doing step one step but i was not success.
Seems a step by step article... You should continue.
Firstly I reading this page and copy PDO_INFORMIX to Php.5.3/ext/
pdo_informix directory.
Before i was download Php.5.2.3 source code and compiled Php.5.2.3
from the source code ./configure --enable-pdo --with-pdo-informix=/opt/
informix bla bla... then make / make install it.
But that not found informix driver to /opt/informix
shuold I download and setup Informix Client SDK ? to /opt/informix
directory
Yes. It's one of the steps in the article you mentioned. PDO will
require the informix libraries. Keep following the article and if you
have any issues come back here.
can anyone help me?
Hopefully yes.
I shoud connect this database server.
If you could to informix database server contact with me please.
What I can do for the moment is assure you it can be done and has been
done by a lot of people.
I'am sad for bad english.
It's a problem for all of us, non natives... But I could understand you
perfectly... maybe because my english is bad also :)
Regards,

And BTW - both of your English is much better than many Americans I
know! :-)

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attgl obal.net
=============== ===- Al nt y gizle -

- Al nt y göster -
I started setup by Informix Client SDK but I had this error
Installing SDK Files by RPM
/bin/sh: /opt/informix/etc/make_lvers: (like: Havent got files and
directory)
Please read the information below.

***** Error occurred during installation. Please refer to log file for
details.
*****

What can i do?

Jul 5 '07 #6
Khan wrote:
On 5 Temmuz, 20:08, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>Fernando Nunes wrote:
>>Khan wrote:
Hello,
I want to connect my intranet server (with php/apache) to the other
informix database server,
But I didnt it. I dont know how i can do it?
Can i use php_informix extensions for example ifx_connect();
I haven't done it in a long time... before PDO was released.
I was read this article:
http://www-128.ibm.com/developerwork...rticle/dm-0606...
and doing step one step but i was not success.
Seems a step by step article... You should continue.
Firstly I reading this page and copy PDO_INFORMIX to Php.5.3/ext/
pdo_inform ix directory.
Before i was download Php.5.2.3 source code and compiled Php.5.2.3
from the source code ./configure --enable-pdo --with-pdo-informix=/opt/
informix bla bla... then make / make install it.
But that not found informix driver to /opt/informix
shuold I download and setup Informix Client SDK ? to /opt/informix
directory
Yes. It's one of the steps in the article you mentioned. PDO will
require the informix libraries. Keep following the article and if you
have any issues come back here.
can anyone help me?
Hopefully yes.
I shoud connect this database server.
If you could to informix database server contact with me please.
What I can do for the moment is assure you it can be done and has been
done by a lot of people.
I'am sad for bad english.
It's a problem for all of us, non natives... But I could understand you
perfectly.. . maybe because my english is bad also :)
Regards,
And BTW - both of your English is much better than many Americans I
know! :-)

--
============== ====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attg lobal.net
============== ====- Al nt y gizle -

- Al nt y göster -

I started setup by Informix Client SDK but I had this error
Installing SDK Files by RPM
/bin/sh: /opt/informix/etc/make_lvers: (like: Havent got files and
directory)
Please read the information below.

***** Error occurred during installation. Please refer to log file for
details.
*****

What can i do?
Can you give us details about the steps you took?
Check /tmp/ for something that resembles an installation log file.

Regards

--
Fernando Nunes
Portugal

http://informix-technology.blogspot.com
My email works... but I don't check it frequently...
Jul 5 '07 #7
Khan wrote:
On 5 Temmuz, 20:08, Jerry Stuckle <jstuck...@attg lobal.netwrote:
>Fernando Nunes wrote:
>>Khan wrote:
Hello,
I want to connect my intranet server (with php/apache) to the other
informix database server,
But I didnt it. I dont know how i can do it?
Can i use php_informix extensions for example ifx_connect();
I haven't done it in a long time... before PDO was released.
I was read this article:
http://www-128.ibm.com/developerwork...rticle/dm-0606...
and doing step one step but i was not success.
Seems a step by step article... You should continue.
Firstly I reading this page and copy PDO_INFORMIX to Php.5.3/ext/
pdo_inform ix directory.
Before i was download Php.5.2.3 source code and compiled Php.5.2.3
from the source code ./configure --enable-pdo --with-pdo-informix=/opt/
informix bla bla... then make / make install it.
But that not found informix driver to /opt/informix
shuold I download and setup Informix Client SDK ? to /opt/informix
directory
Yes. It's one of the steps in the article you mentioned. PDO will
require the informix libraries. Keep following the article and if you
have any issues come back here.
can anyone help me?
Hopefully yes.
I shoud connect this database server.
If you could to informix database server contact with me please.
What I can do for the moment is assure you it can be done and has been
done by a lot of people.
I'am sad for bad english.
It's a problem for all of us, non natives... But I could understand you
perfectly.. . maybe because my english is bad also :)
Regards,
And BTW - both of your English is much better than many Americans I
know! :-)

--
============== ====
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attg lobal.net
============== ====- Al nt y gizle -

- Al nt y göster -

I started setup by Informix Client SDK but I had this error
Installing SDK Files by RPM
/bin/sh: /opt/informix/etc/make_lvers: (like: Havent got files and
directory)
Please read the information below.

***** Error occurred during installation. Please refer to log file for
details.
*****

What can i do?
Did you install the informix runtime environment first?

I don't know about via RPM - but in Debian you have to install the
runtime before the sdk.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Jul 5 '07 #8
I was doing about step by step

1. php-5.2.3.tar.gz / PDO_INFORMIX-1.1.0.tgz / clientsdk.
2.90.FC4R1.LINU X.tar I was download everyone to the /tmp directory

2. #tar zxf PDO_INFORMIX-1.1.0.tgz and #tar zxf php-5.2.3.tar.gz by
root

3. groupadd informix and useradd -g informix -p xxxx -d /dev/null
informix But that give error :
[root@local tmp]# useradd -g informix -p xxxx -d /dev/null informix
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.

4. mkdir /opt/informix and chown informix.inform ix /opt/informix (by
root because dont permission informix)

5. cp clientsdk.2.90. FC4R1.LINUX.tar /opt/informix

6. tar -xvf clientsdk.2.90. FC4R1.LINUX.tar (by root because dont
permission informix)

7. ./installclientsd k and started Initializing InstallShield
Wizard........ and give this error
Verifying JVM.Exception in thread "main"
java.lang.NoCla ssDefFoundError : version
at gnu.java.lang.M ainThread.run(l ibgcj.so.7rh)
Caused by: java.lang.Class NotFoundExcepti on: version not found in
gnu.gcj.runtime .SystemClassLoa der{urls=[file:./],
parent=gnu.gcj. runtime.Extensi onClassLoader{u rls=[], parent=null}}

8. Installing steps
/opt/informix
with the following features:
Client
Messages
GLS
for a total size:
85,9 MB
and Installing IBM Informix Client-SDK. Please wait...
Installing SDK GLS Files by RPM

9. and give this error:
/bin/sh: /opt/informix/etc/make_lvers: Böyle bir dosya ya da dizin
yok (english mean there arent directory and files)
Branding Files ...
Please read the information below.

***** Error occurred during installation. Please refer to log file
for details.
*****
And Press 3 stop installing

Error Files

rpmsdk.err
[package csdk-2.90.FC4R1-1 is intended for a x86_64 architecture]

rpmmsg.err
[package msgclient-2006.12-1 is intended for a x86_64 architecture]
What i should doing now?
I was download Linux for System x 86Series
Informix Downloads (Informix Client Software Development Kit (CSDK)
(Trial Version) for Linux (x86) RHEL 3, 64bit)
My operating system Linux Fedora Core 6 (FC-6-i386)
interested it this error?
Thankyou
Khan, Erdem KOC

Jul 6 '07 #9
On 6 Temmuz, 09:35, Khan <erd...@gmail.c omwrote:
I was doing about step by step

1. php-5.2.3.tar.gz / PDO_INFORMIX-1.1.0.tgz / clientsdk.
2.90.FC4R1.LINU X.tar I was download everyone to the /tmp directory

2. #tar zxf PDO_INFORMIX-1.1.0.tgz and #tar zxf php-5.2.3.tar.gz by
root

3. groupadd informix and useradd -g informix -p xxxx -d /dev/null
informix But that give error :
[root@local tmp]# useradd -g informix -p xxxx -d /dev/null informix
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.

4. mkdir /opt/informix and chown informix.inform ix /opt/informix (by
root because dont permission informix)

5. cp clientsdk.2.90. FC4R1.LINUX.tar /opt/informix

6. tar -xvf clientsdk.2.90. FC4R1.LINUX.tar (by root because dont
permission informix)

7. ./installclientsd k and started Initializing InstallShield
Wizard........ and give this error
Verifying JVM.Exception in thread "main"
java.lang.NoCla ssDefFoundError : version
at gnu.java.lang.M ainThread.run(l ibgcj.so.7rh)
Caused by: java.lang.Class NotFoundExcepti on: version not found in
gnu.gcj.runtime .SystemClassLoa der{urls=[file:./],
parent=gnu.gcj. runtime.Extensi onClassLoader{u rls=[], parent=null}}

8. Installing steps
/opt/informix
with the following features:
Client
Messages
GLS
for a total size:
85,9 MB
and Installing IBM Informix Client-SDK. Please wait...
Installing SDK GLS Files by RPM

9. and give this error:
/bin/sh: /opt/informix/etc/make_lvers: Böyle bir dosya ya da dizin
yok (english mean there arent directory and files)
Branding Files ...
Please read the information below.

***** Error occurred during installation. Please refer to log file
for details.
*****

And Press 3 stop installing

Error Files

rpmsdk.err
[package csdk-2.90.FC4R1-1 is intended for a x86_64 architecture]

rpmmsg.err
[package msgclient-2006.12-1 is intended for a x86_64 architecture]

What i should doing now?
I was download Linux for System x 86Series
Informix Downloads (Informix Client Software Development Kit (CSDK)
(Trial Version) for Linux (x86) RHEL 3, 64bit)
My operating system Linux Fedora Core 6 (FC-6-i386)
interested it this error?

Thankyou
Khan, Erdem KOC
I think this problem 32 Bit/64 Bit so i setup Informix CSDK 32 bit and
configure Php and PDO informix
then make and make install

After

I was trying sample code
Give me this error

Fatal error: Uncaught exception 'PDOException' with message 'could not
find driver' in /home/ozcan/public_html/wurth/deneme.php:4 Stack
trace: #0 /home/ozcan/public_html/wurth/deneme.php(4): PDO-
>__construct('i nformix:host=1. ..', 'informix', 'informix') #1 {main}
thrown in /home/ozcan/public_html/wurth/deneme.php on line 4

:(

Jul 6 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5731
by: D. Sandmann | last post by:
I have had this problem in the past on another machine and fixed it by setting the environment variables for INFORMIXDIR and INFORMIXSERVER. When adding the same lines on the new machine I still get the following message: Warning: ifx_pconnect(): E in :\webroot\PHPinclude\db_vars.inc on line 7 I tried doing what I did before, but still...
1
3025
by: Brian McLaughlin | last post by:
I have a Solaris machine running Informix and a Linux machine with the Informix SDK installed. I've been running php scripts for a couple months now on the Linux box that connect to Informix and do various queries/updates. Recently (with no apparent changes to anything of course) these scripts started failing. They're unable to connect to...
0
1479
by: Alberto Vera | last post by:
I use win32com.client to create ADODB.Connection and ADODB.Recordset: win32com.client.Dispatch('ADODB.Connection') win32com.client.Dispatch('ADODB.Recordset') I can connect to an access database and I can update it, but if I change the connection string to connect to Informix database, its values no refresh. Do you know any bug using...
3
7177
by: Christian Eriksson | last post by:
Hi! I'm programming Perl DBI accessing Informix databases. I have a problem on a Solaris machine to use my installed Informix driver (DBD::Informix). I get the following error message: install_driver(Informix) failed: Can't load '/usr/perl5/5.6.1/site_perl/sun4-solaris/auto/DBD/Informix/Informix.so' for module DBD::Informix: ld.so.1:...
3
6053
by: Lee | last post by:
Hi, I'm developing a socket program to connect to Informix database through the ODBC. In here i called my socket program as "tap" . My tap will listen for data from unix through port 1070. After checking of the data, tap will then insert the data to the informix database. I know we can point the tap to one specified port in Informix database...
0
4523
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager Express Edition v1.3.2 Win, IBM Tivoli System Automation v1.2.0 Linux, IBM Tivoli Workload Scheduler Virtualized Data Centers v8.2 , other IBM...
2
16512
by: Mark | last post by:
We need to connect to an in-house informix database from a .NET web application. Any recommendations on: 1. Drivers. 2. Connection strings. 3. Ways to optimize speed? This particular app will be just retrieving and displaying data. No inserts/updates/etc.
7
7470
by: Bill Nguyen | last post by:
I have this connection string using ODBC DSN Dim FactorJaco As String = "dsn=jaco;catalog=factor;uid=user;pwd=passord" This requires an ODBC DSN (jaco) at every client PC. I need to use DSN-less connection for terminal server setup. Any help is greatly appreciated.
0
1516
by: lulazz | last post by:
Hi, I would like to connect to an informix DB using adodb. At the moment I connect through odbc under window, but I would like to be able to connect under linux as well. Also do I need any additional software to do it (e.g. informix sdk) or the support is built into adodb/php? Thanks a million Lulazz
0
7830
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8061
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7591
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6180
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5454
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5172
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3577
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1161
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.