Re: Oracle TNS problems with PHP4?
| From: | Steve Farmer | Date: | Sun, 04 Feb 2001 23:54:12 +0000 |
| Subject: | Re: Oracle TNS problems with PHP4? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-6373@lists.php.net to get a copy of this message | ||
Hi Mark,
I run Oracle 8i with apache and PHP 4 on about 6 different machines , all connect to a remote DB and i have no problems @ all.
Regards
Steve Farmer
At 8:29 AM -0600 2/2/01, Mark Farver wrote:
I am running Oracle 8.0.5 Net8 drivers on a Win95 system using Apache and PHP4.04pl1. I'm getting consistent TNS No service errors from PHP using all three methods of accessing Oracle (oracle,oci,odbc). ODBC works fine in other apps, and the SQLPlus and tnsping work fine (even when called from a passthru(), so its not environment related). I've noticed a large number of bug reports on this.. but no answers (other than modifing the ORACLE_SID, and ORACLE_HOME environment vars, and that only works if the DB is local). I'm trying to nail down how widespread this problem is... How many of you have Oracle working with PHP4? What version of the Oracle drivers? Are you accessing a local db or a remote one? Did you have to tweak any settings to make it work? Windows or Unix? Thanks Mark -- "The greatest dangers to liberty lurk in insidious enroachment by mean of zeal, well-meaning but without understanding." -- Justice Louis O. Brandeis, Olmstead vs. United States -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net-- --------------------------------------------------- "Minds are like parachutes, they work best when open" Support free speech; visit http://www.efa.org.au/ Heads Together Systems Pty Ltd http://www.hts.com.au Email: hts@hts.com.au Tel: 612 9982 6767 Fax: 612 9981 3081