Re: Linux, Oracle, Apache with PHP oci8 module TNS resolve problem
| From: | George Schlossnagle | Date: | Sat, 02 Dec 2000 23:51:42 +0000 |
| Subject: | Re: Linux, Oracle, Apache with PHP oci8 module TNS resolve problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-4967@lists.php.net to get a copy of this message | ||
Youroci libraries aren't finding the entry for the host you are trying
toconnect to. Make sure that ORACLE_HOME and it's tnsnames.ora file are
correct (and match what you are calling in your code :).
Steven wrote:
>
> I had a every thing running but then someone decided that I had to use
> the new oci8 support with php instead of the normal ora_ with that
> result:
>
> Warning: _oci_open_server: ORA-12154: TNS:could not resolve service
> name
>
> Any help is welcome, Steven
>
> --
> 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
--
$_ = 'George Schlossnagle';
s#.#(ord$')-(ord$&)+((index($_,$')-$&)?1002:0)#ego;s#-#((substr($],4,1)-6)?67:$-[0])#eog;$:=$_;print
join('',(map chr$_,reverse
map{substr($:,(3*$_),3)+(11,-109,-14,94,-894,-28,-61,-202,-417,83,-20,-678,53,96,4,-494,82,-869,-826,24,16,-684,-450,-27)[$_]}(0...length($_)/3)),chr(length($_)/2+ord$/),$/);