Re: PHP and Oracle

From: Chris Gregors (Chris.Gregors@TELUS.COM)
Date: Mon Mar 24 2003 - 18:05:26 EST


This looks like a compiler library error.

Questions:
        Back-off from 4.3.2rc1 and go back to 4.3.1. This is a "Release
Candidate" and not stable for production.
        What compiler are you using?
        You do know that the builtin compiler will not handle this
compile.
        Did you install the appropriate library set (if non IBM
compiler)
        Try running the configure script with "--disable-mysql". Not
sure about this switch tho..

-----Original Message-----
From: Stephen Spalding [mailto:ssaixadm@YAHOO.COM]
Sent: Monday, March 24, 2003 3:33 PM
To: aix-l@Princeton.EDU
Subject: Re: PHP and Oracle

Ok, I've downloaded php 4.3.2 from php.net. I've
gotten past the ./configure part (used ./configure
--with-oci8=/oracle/app/oracle/product/8.1.7
--with-apxs=/usr/HTTPServer/bin/apxs), but now I'm
stuck on the make. Here is the error that I'm getting:

b526 root /usr/PHP/php-4.3.2RC1
> make
        /bin/sh /usr/PHP/php-4.3.2RC1/libtool --silent
--preserve-dup-deps --mode=compile cc -I/usr/PHP/p
hp-4.3.2RC1/ext/mysql/libmysql -Iext/mysql/
-I/usr/PHP/php-4.3.2RC1/ext/mysql/ -DPHP_ATOM_INC -I/usr/PHP/
php-4.3.2RC1/include -I/usr/PHP/php-4.3.2RC1/main
-I/usr/PHP/php-4.3.2RC1 -I/usr/PHP/php-4.3.2RC1/Zend -I
/oracle/app/oracle/product/8.1.7/rdbms/public
-I/oracle/app/oracle/product/8.1.7/rdbms/demo
-I/usr/PHP/ph
p-4.3.2RC1/ext/xml/expat -I/usr/PHP/php-4.3.2RC1/TSRM
 -g -prefer-pic -c /usr/PHP/php-4.3.2RC1/ext/mysq
l/libmysql/my_tempnam.c -o ext/mysql/libmysql/my_tempnam.lo
"/usr/PHP/php-4.3.2RC1/ext/mysql/libmysql/my_tempnam.c",
line 99.5: 1506-025 (S) Operand must be a modifi
able lvalue. "/usr/PHP/php-4.3.2RC1/ext/mysql/libmysql/my_tempnam.c",
line 105.3: 1506-025 (S) Operand must be a modif
iable lvalue.
make: 1254-004 The error code from the last command is
1.

Stop.

Any ideas?

Thanks!

-Stephen Spalding

--- MARLON BORBA <MBORBA@TRF3.GOV.BR> wrote:
> AFAIK when you need to add supoort to databases
> other than Postgres and/or MySQL you must recompile
> PHP and link it with the proper client libraries
> from the DBMS you are using. I've tried it with AIX
> 4.3.X and Ingres II and it worked, besides some "idiosyncrasies" of
> AIX C. This is a relatively easy task as the configuration script for
> PHP has well-documented switches to include that libraries.
>
> HTH,
>
> Marlon.
>
> /*
> Marlon Borba
> Divisao de Suporte Tecnico
> TRF 3a. Regiao
> (11) 3311-4683 e 9692-8357
> mborba@trf3.gov.br - marlonborba@acm.org
> -------
> Association for Computing Machinery
> Member #UK42160
> Internet Society
> Member #1330387
> */
>
> >>> ssaixadm@YAHOO.COM 24/03/03 15:38 >>>
> Anyone have experience installing PHP4 on AIX for
> use
> with Oracle? I've just recently received a request
> to
> put it on an AIX 4.3.3 server, and I'm thinking
> about
> going to the Linux toolbox page to download a smit installable version

> of PHP. However, I'm concerned about if it will be able to connect to
> Oracle right out of the box.
>
> Anyone have any suggestions?
>
> Thanks!
>
> -Stephen Spalding
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness,
> live on your desktop!
> http://platinum.yahoo.com

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:41 EDT