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

Re: compiling php with oci8 support



Joni Lahtinen wrote:
> Debian sarge
> 
> I have oracle XE installed (works with java jdbc)
> 
> I downloaded php4 source.
> 
> #./configure "--with-oci8=$ORACLE_HOME"
> all went right
> #make
> all ok
> #make install
> all ok
> #../apache2 restart
> 
> then php:
> 
> <?
> $c = OCILogon('hr', 'hr_password', '//mymachine.mydomain/MYDB');
> ?>
> 
> error from php-site:
> 
> Fatal error: Call to undefined function: ocilogon() in 
> /var/www/web/oracletest.php on line 2
> 
> What I do wrong and how to fix it?
> 
> 

It is difficult to tell without more details.  Have you considered
following my HOWTO?  Coincidentally, I use a customization of PHP as the
example.

http://familiasanchez.net/~roberto/howtos/debcustomize

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: