Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

[PHP3] RE: From: Holdich, Kristian (kristian.holdich <email protected>)
Date: 08/05/99

> Dear sir
> i have oracle 8 installed on suse 6.0 linux.The apache was
> installed when
> installing suse 6.0 with mod_php3 module.
> now i want to connect a database using php script.
> <?php
>
> $connection = odbc_connect("FIRST", "scott", "tiger");
>
>
> i want to know where to make dsn entry ,what is the odbc drivers?, and
> envoirmant variables ? Please also tell me any other way than odbc?
>
> does odbc_connect should have any other parameters?
>
> The database is ORCL
> the oracle_home is /u01/app/oracle/product/8.0.5
> the openlink is default of suse6.0 /opt/openlink
> the openlink virtuoso /opt/virtuoso-lite
>
> the database and php scripts are in same machine the machine
> ip 192.168.0.20
>
>
> Please help me out!!!!
>
> AMRITH

ODBC is a windows thing, you don't need it in Linux as you can connect using
PHP's native Oracle interface. I have no experience with Oracle however but
do know you will probably need to recompile PHP with Oracle support, then
recompile Apache. The best place to get help is the PHP list and I have
forwarded this message there.

Kristian

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>