Re: Oracle/PHP question...
| From: | xxx xxxx | Date: | Tue, 17 Dec 2002 14:32:56 +0000 |
| Subject: | Re: Oracle/PHP question... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-24231@lists.php.net to get a copy of this message | ||
Hy,
in php.ini you have to uncomment the
;extension=php_oci8.dll
;extension=php_oracle.dll
; is a comment
and restart the server....
cybercop78
On Tue, 17 Dec 2002 08:29:36 -0500, Anthony Carlos wrote
> Yes, you need to recompile PHP: ./configure --with-oci8=[your_oracle_home]
>
> -----Original Message-----
> From: NIPP, SCOTT V (SBCSI) [mailto:sn4265@sbc.com]
> Sent: Monday, December 16, 2002 1:58 PM
> To: 'php-db@lists.php.net'
> Subject: [PHP-DB] Oracle/PHP question...
>
> I am now trying to setup connectivity to a remote Oracle database
> for my PHP/Apache web server. I am attempting to verify
> connectivity to the database by:
>
> <?php
> $connection = OCILogon("user", "password") or die ("Unable to logon
> to database."); ?>
>
> I have installed the Oracle client on the system, and I have also
> setup the ORACLE_HOME and ORACLE_SID environment variables. Unfortunately
> at this point I am not even able to make a successful connection to the
> Oracle database. I am currently receiving the following error:
>
> Fatal error: Call to undefined function: ocilogon() in /www/DW/oratest.php
> on line 10
>
> Do I need to recompile PHP to be Oracle aware or something?
> What is it I am missing at this point? Thanks in advance. Scott
> Nipp Phone: (214) 858-1289 E-mail: sn4265@sbc.com Web: [MÝ]_½éJ\?µž±ã
> http:\\ldsa.sbcld.sbc.com
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
http://www.idilis.ro - Stiri, e-mail gratuit, download,
SMS, server de counter-strike, hosting gratuit, servicii internet...
Fii cu un pas inaintea celorlati!