Re: php+informix+apache
Posted in 1999
Topics: Installation, Setup & Upgrades, Connectivity: ESQL/C, 4GL & Embedded SQL
Alec You may want to look at functions/php3_ifx.h to see how the sqltypes.h and locator.h files are called. They should be called as EXEC SQL include sqltypes; and EXEC SQL include locator; The files are in $INFORMIXDIR/incl/esql. I have a small writeup at http://www.geocities.com/sujitpal/artli007.html which talks about the problems I faced when installing PHP with Apache and Informix, but I did not have your problem, so it may not be much help. HTH Sujit biggiealec@my-deja.com on 12/30/99 03:36:07 PM Please respond to biggiealec@my-deja.com To: informix-list@iiug.org cc: (bcc: Sujit Pal) Subject: php+informix+apache I get the following error, I've been doing ./configure --with- informix=yes and my informix server is located in /opt/informix. Please let me know if there is anything special about this, I do have INFORMIXDIR defined as well. Are there any guides to php+informix+apache install? Thanks, Alec [root@develop php-3.0.12]# make gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - I/opt/informix/incl/esql -c language-parser.tab.c -o language- parser.tab.o gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - I/opt/informix/incl/esql -w -DYY_USE_CONST -c language-scanner.c gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - I/opt/informix/incl/esql -c main.c -o main.o gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - I/opt/informix/incl/esql -c php3_hash.c -o php3_hash.o gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - I/opt/informix/incl/esql -c operators.c -o operators.o gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - I/opt/informix/incl/esql -c variables.c -o variables.o gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - I/opt/informix/incl/esql -c token_cache.c -o token_cache.o gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - I/opt/informix/incl/esql -c stack.c -o stack.o gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - I/opt/informix/incl/esql -c internal_functions.c -o internal_functions.o In file included from internal_functions.c:49: functions/php3_ifx.h:49: locator.h: No such file or directory functions/php3_ifx.h:50: sqltypes.h: No such file or directory make: *** [internal_functions.o] Error 1 [root@develop php-3.0.12]# Sent via Deja.com http://www.deja.com/ Before you buy.
[root@develop esql]# ls cdrapi.h cdrerr.h [root@develop esql]# and the following is in php3_ifx.h #include "locator.h" #include "sqltypes.h" Thanks, Alec In article <84h3n7$8f8$1@news.xmission.com>, Sujit.Pal@bankofamerica.com wrote: > > > Alec > > You may want to look at functions/php3_ifx.h to see how the sqltypes.h and > locator.h files are called. They should be called as EXEC SQL include sqltypes; > and EXEC SQL include locator; The files are in $INFORMIXDIR/incl/esql. > > I have a small writeup at http://www.geocities.com/sujitpal/artli007.html which > talks about the problems I faced when installing PHP with Apache and Informix, > but I did not have your problem, so it may not be much help. > > HTH > Sujit > > biggiealec@my-deja.com on 12/30/99 03:36:07 PM > > Please respond to biggiealec@my-deja.com > > To: informix-list@iiug.org > cc: (bcc: Sujit Pal) > Subject: php+informix+apache > > I get the following error, I've been doing ./configure --with- > informix=yes and my informix server is located in /opt/informix. > Please let me know if there is anything special about this, I do have > INFORMIXDIR defined as well. Are there any guides to > php+informix+apache install? > > Thanks, > > Alec > > [root@develop php-3.0.12]# make > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > I/opt/informix/incl/esql -c language-parser.tab.c -o language- > parser.tab.o > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > I/opt/informix/incl/esql -w -DYY_USE_CONST -c language-scanner.c > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > I/opt/informix/incl/esql -c main.c -o main.o > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > I/opt/informix/incl/esql -c php3_hash.c -o php3_hash.o > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > I/opt/informix/incl/esql -c operators.c -o operators.o > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > I/opt/informix/incl/esql -c variables.c -o variables.o > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > I/opt/informix/incl/esql -c token_cache.c -o token_cache.o > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > I/opt/informix/incl/esql -c stack.c -o stack.o > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > I/opt/informix/incl/esql -c internal_functions.c -o > internal_functions.o > In file included from internal_functions.c:49: > functions/php3_ifx.h:49: locator.h: No such file or directory > functions/php3_ifx.h:50: sqltypes.h: No such file or directory > make: *** [internal_functions.o] Error 1 > [root@develop php-3.0.12]# > > Sent via Deja.com http://www.deja.com/ > Before you buy. > > Sent via Deja.com http://www.deja.com/ Before you buy.
Which Informix products do you have installed? It would appear that you do not have ClientSDK or ESQL/C installed, just the database server. To compile programs like PHP, or DBD::Informix, or SQLCMD, or just about anything, you need ESQL/C or ClientSDK installed as well as the database server. biggiealec@my-deja.com wrote: > [root@develop esql]# ls > cdrapi.h cdrerr.h > [root@develop esql]# > > and the following is in php3_ifx.h > > #include "locator.h" > #include "sqltypes.h" > > Thanks, > Alec > > In article <84h3n7$8f8$1@news.xmission.com>, > Sujit.Pal@bankofamerica.com wrote: > > > > > > Alec > > > > You may want to look at functions/php3_ifx.h to see how the > sqltypes.h and > > locator.h files are called. They should be called as EXEC SQL include > sqltypes; > > and EXEC SQL include locator; The files are in $INFORMIXDIR/incl/esql. > > > > I have a small writeup at > http://www.geocities.com/sujitpal/artli007.html which > > talks about the problems I faced when installing PHP with Apache and > Informix, > > but I did not have your problem, so it may not be much help. > > > > HTH > > Sujit > > > > biggiealec@my-deja.com on 12/30/99 03:36:07 PM > > > > Please respond to biggiealec@my-deja.com > > > > To: informix-list@iiug.org > > cc: (bcc: Sujit Pal) > > Subject: php+informix+apache > > > > I get the following error, I've been doing ./configure --with- > > informix=yes and my informix server is located in /opt/informix. > > Please let me know if there is anything special about this, I do have > > INFORMIXDIR defined as well. Are there any guides to > > php+informix+apache install? > > > > Thanks, > > > > Alec > > > > [root@develop php-3.0.12]# make > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > > I/opt/informix/incl/esql -c language-parser.tab.c -o language- > > parser.tab.o > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > > I/opt/informix/incl/esql -w -DYY_USE_CONST -c language-scanner.c > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > > I/opt/informix/incl/esql -c main.c -o main.o > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > > I/opt/informix/incl/esql -c php3_hash.c -o php3_hash.o > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > > I/opt/informix/incl/esql -c operators.c -o operators.o > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > > I/opt/informix/incl/esql -c variables.c -o variables.o > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > > I/opt/informix/incl/esql -c token_cache.c -o token_cache.o > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > > I/opt/informix/incl/esql -c stack.c -o stack.o > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. -I. - > > I/opt/informix/incl/esql -c internal_functions.c -o > > internal_functions.o > > In file included from internal_functions.c:49: > > functions/php3_ifx.h:49: locator.h: No such file or directory > > functions/php3_ifx.h:50: sqltypes.h: No such file or directory > > make: *** [internal_functions.o] Error 1 > > [root@develop php-3.0.12]# > > > > Sent via Deja.com http://www.deja.com/ > > Before you buy. > > > > > > Sent via Deja.com http://www.deja.com/ > Before you buy. -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v0.62 -- see http://www.perl.com/CPAN #include <disclaimer.h>
Right now I just have the database server installed. I cannot find the ClientSDK or ESQL/C for linux. This development server is running linux, and the production is running solaris. I would think these products would be avaliable for linux also. Looked on intraware also. -Alec In article <386C414D.3D40A01A@earthlink.net>, Jonathan Leffler <jleffler@earthlink.net> wrote: > Which Informix products do you have installed? > > It would appear that you do not have ClientSDK or ESQL/C installed, just the > database > server. To compile programs like PHP, or DBD::Informix, or SQLCMD, or just > about > anything, you need ESQL/C or ClientSDK installed as well as the database > server. > > biggiealec@my-deja.com wrote: > > > [root@develop esql]# ls > > cdrapi.h cdrerr.h > > [root@develop esql]# > > > > and the following is in php3_ifx.h > > > > #include "locator.h" > > #include "sqltypes.h" > > > > Thanks, > > Alec > > > > In article <84h3n7$8f8$1@news.xmission.com>, > > Sujit.Pal@bankofamerica.com wrote: > > > > > > > > > Alec > > > > > > You may want to look at functions/php3_ifx.h to see how the > > sqltypes.h and > > > locator.h files are called. They should be called as EXEC SQL include > > sqltypes; > > > and EXEC SQL include locator; The files are in $INFORMIXDIR/incl/esql. > > > > > > I have a small writeup at > > http://www.geocities.com/sujitpal/artli007.html which > > > talks about the problems I faced when installing PHP with Apache and > > Informix, > > > but I did not have your problem, so it may not be much help. > > > > > > HTH > > > Sujit > > > > > > biggiealec@my-deja.com on 12/30/99 03:36:07 PM > > > > > > Please respond to biggiealec@my-deja.com > > > > > > To: informix-list@iiug.org > > > cc: (bcc: Sujit Pal) > > > Subject: php+informix+apache > > > > > > I get the following error, I've been doing ./configure --with- > > > informix=yes and my informix server is located in /opt/informix. > > > Please let me know if there is anything special about this, I do have > > > INFORMIXDIR defined as well. Are there any guides to > > > php+informix+apache install? > > > > > > Thanks, > > > > > > Alec > > > > > > [root@develop php-3.0.12]# make > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - I. - > > > I/opt/informix/incl/esql -c language-parser.tab.c -o language- > > > parser.tab.o > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - I. - > > > I/opt/informix/incl/esql -w -DYY_USE_CONST -c language- scanner.c > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - I. - > > > I/opt/informix/incl/esql -c main.c -o main.o > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - I. - > > > I/opt/informix/incl/esql -c php3_hash.c -o php3_hash.o > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - I. - > > > I/opt/informix/incl/esql -c operators.c -o operators.o > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - I. - > > > I/opt/informix/incl/esql -c variables.c -o variables.o > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - I. - > > > I/opt/informix/incl/esql -c token_cache.c -o token_cache.o > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - I. - > > > I/opt/informix/incl/esql -c stack.c -o stack.o > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - I. - > > > I/opt/informix/incl/esql -c internal_functions.c -o > > > internal_functions.o > > > In file included from internal_functions.c:49: > > > functions/php3_ifx.h:49: locator.h: No such file or directory > > > functions/php3_ifx.h:50: sqltypes.h: No such file or directory > > > make: *** [internal_functions.o] Error 1 > > > [root@develop php-3.0.12]# > > > > > > Sent via Deja.com http://www.deja.com/ > > > Before you buy. > > > > > > > > > > Sent via Deja.com http://www.deja.com/ > > Before you buy. > > -- > Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) > Guardian of DBD::Informix v0.62 -- see http://www.perl.com/CPAN > #include <disclaimer.h> > > Sent via Deja.com http://www.deja.com/ Before you buy.
Go to Informix.com for this product, you will then be directed to the appropriate web address. <biggiealec@my-deja.com> wrote in message news:84ik7v$hqj$1@nnrp1.deja.com... > Right now I just have the database server installed. I cannot find the > ClientSDK or ESQL/C for linux. This development server is running > linux, and the production is running solaris. I would think these > products would be avaliable for linux also. Looked on intraware also. > > -Alec > > > In article <386C414D.3D40A01A@earthlink.net>, > Jonathan Leffler <jleffler@earthlink.net> wrote: > > Which Informix products do you have installed? > > > > It would appear that you do not have ClientSDK or ESQL/C installed, > just the > > database > > server. To compile programs like PHP, or DBD::Informix, or SQLCMD, > or just > > about > > anything, you need ESQL/C or ClientSDK installed as well as the > database > > server. > > > > biggiealec@my-deja.com wrote: > > > > > [root@develop esql]# ls > > > cdrapi.h cdrerr.h > > > [root@develop esql]# > > > > > > and the following is in php3_ifx.h > > > > > > #include "locator.h" > > > #include "sqltypes.h" > > > > > > Thanks, > > > Alec > > > > > > In article <84h3n7$8f8$1@news.xmission.com>, > > > Sujit.Pal@bankofamerica.com wrote: > > > > > > > > > > > > Alec > > > > > > > > You may want to look at functions/php3_ifx.h to see how the > > > sqltypes.h and > > > > locator.h files are called. They should be called as EXEC SQL > include > > > sqltypes; > > > > and EXEC SQL include locator; The files are in > $INFORMIXDIR/incl/esql. > > > > > > > > I have a small writeup at > > > http://www.geocities.com/sujitpal/artli007.html which > > > > talks about the problems I faced when installing PHP with Apache > and > > > Informix, > > > > but I did not have your problem, so it may not be much help. > > > > > > > > HTH > > > > Sujit > > > > > > > > biggiealec@my-deja.com on 12/30/99 03:36:07 PM > > > > > > > > Please respond to biggiealec@my-deja.com > > > > > > > > To: informix-list@iiug.org > > > > cc: (bcc: Sujit Pal) > > > > Subject: php+informix+apache > > > > > > > > I get the following error, I've been doing ./configure --with- > > > > informix=yes and my informix server is located in /opt/informix. > > > > Please let me know if there is anything special about this, I do > have > > > > INFORMIXDIR defined as well. Are there any guides to > > > > php+informix+apache install? > > > > > > > > Thanks, > > > > > > > > Alec > > > > > > > > [root@develop php-3.0.12]# make > > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - > I. - > > > > I/opt/informix/incl/esql -c language-parser.tab.c -o > language- > > > > parser.tab.o > > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - > I. - > > > > I/opt/informix/incl/esql -w -DYY_USE_CONST -c language- > scanner.c > > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - > I. - > > > > I/opt/informix/incl/esql -c main.c -o main.o > > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - > I. - > > > > I/opt/informix/incl/esql -c php3_hash.c -o php3_hash.o > > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - > I. - > > > > I/opt/informix/incl/esql -c operators.c -o operators.o > > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - > I. - > > > > I/opt/informix/incl/esql -c variables.c -o variables.o > > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - > I. - > > > > I/opt/informix/incl/esql -c token_cache.c -o token_cache.o > > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - > I. - > > > > I/opt/informix/incl/esql -c stack.c -o stack.o > > > > gcc -g -O2 -I/opt/informix/incl/esql -O2 -I. - > I. - > > > > I/opt/informix/incl/esql -c internal_functions.c -o > > > > internal_functions.o > > > > In file included from internal_functions.c:49: > > > > functions/php3_ifx.h:49: locator.h: No such file or directory > > > > functions/php3_ifx.h:50: sqltypes.h: No such file or directory > > > > make: *** [internal_functions.o] Error 1 > > > > [root@develop php-3.0.12]# > > > > > > > > Sent via Deja.com http://www.deja.com/ > > > > Before you buy. > > > > > > > > > > > > > > Sent via Deja.com http://www.deja.com/ > > > Before you buy. > > > > -- > > Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) > > Guardian of DBD::Informix v0.62 -- see http://www.perl.com/CPAN > > #include <disclaimer.h> > > > > > > > Sent via Deja.com http://www.deja.com/ > Before you buy.