Re: [PHP-DB] Oracle via php under windows 2k
See http://www.thickbook.com/extra/php_oracle.phtml for a simple tutorial. Note that in my case, I've trouble using OCILogon with its third argument, for example '@mydb'. I have to use the complete syntax you found in the oracle file tnsnames.ora, something like mydb.world = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = tcp.world) (PROTOCOL = TCP) (Host = ) (Port = ) ) (ADDRESS = (COMMUNITY = tcp.world) (PROTOCOL = TCP) (Host = ) (Port = ) ) ) (CONNECT_DATA = (SID = ) ) ) Hope this helps. et bon courage ! Philippe "Titanesk" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > ok, that was already done, ive an Oracle server with database on a computer > and on another i ve apache + php +oci8 and the oracle client installed, what > to do now for this work ? > > "Philippe Saladin" <[EMAIL PROTECTED]> a écrit dans le message de > news: [EMAIL PROTECTED] > > > If you were using it in linux you would need at last the oracle client > > > installed locally, I don't know in windows. > > > > Yes, the oracle 8 client has to be installed onto the server : it's the > > middleware between Oracle and the client. See your oracle dba. > > Regards, > > Philippe > > > > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Oracle via php under windows 2k
ok, that was already done, ive an Oracle server with database on a computer and on another i ve apache + php +oci8 and the oracle client installed, what to do now for this work ? "Philippe Saladin" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > If you were using it in linux you would need at last the oracle client > > installed locally, I don't know in windows. > > Yes, the oracle 8 client has to be installed onto the server : it's the > middleware between Oracle and the client. See your oracle dba. > Regards, > Philippe > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Oracle via php under windows 2k
> If you were using it in linux you would need at last the oracle client > installed locally, I don't know in windows. Yes, the oracle 8 client has to be installed onto the server : it's the middleware between Oracle and the client. See your oracle dba. Regards, Philippe -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Oracle via php under windows 2k
I don't use oracle with my windows php but in my extensions directory there is a php_oci8.dll. Do you have it? did you uncomment the line in your php.ini? If you installed your php from the installer, probably you don't have this file. download the zipped file from www.php.net and extract the extensions in your "extensions_dir". If you were using it in linux you would need at last the oracle client installed locally, I don't know in windows. Hope I don't sad a lot of things you've done before. Bruno. - Original Message - From: "titanesk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 14, 2001 6:07 PM Subject: [PHP-DB] Oracle via php under windows 2k > Hello > > These are pretty basic questions, but I would appreciate help: > > I need to access Oracle (already running on a separate server) via > PHP4/Apache from a windows system. > > 1) Can this be done? > (It will be possible with php scripts but i've oci8 errors) > 2) Where do I find instructions? > 3) Where do I get php_oci8 ?? i need to rebuild php ? I would find php4 with > oci8 extension ready yet ! :) > > > Thanks > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] Oracle via php under windows 2k
Hello These are pretty basic questions, but I would appreciate help: I need to access Oracle (already running on a separate server) via PHP4/Apache from a windows system. 1) Can this be done? (It will be possible with php scripts but i've oci8 errors) 2) Where do I find instructions? 3) Where do I get php_oci8 ?? i need to rebuild php ? I would find php4 with oci8 extension ready yet ! :) Thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]