RE: [PHP] error connecting to oracle.
| From: | Gerald Roehrbein/Pctdmn | Date: | Mon, 30 Oct 0000 10:50:09 +0000 |
| Subject: | RE: [PHP] error connecting to oracle. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-121666@lists.php.net to get a copy of this message | ||
Hello,
at Solaris and Windows NT it's first necessary to install the Oracle Client
software and then to configure PHP properly the way it is documented!
I've done until know only three PHP installations with Oracle support but
all three installations where very simple!
Remember you have to set the Oracle Environmentvariables ($ORACLE_BASE,
$ORACLE_HOME, $TNS<xyz>) before starting the WEB Server or PHP! For
apchache you can do this in apachectl or a subroutine you call from
apachectl. In a windows environment you have to set the variables with the
appropriate tools (System/Environment/Add Variables)!
In my cases this was everything to do. Try your Oracle Client Installation
with tnsping and sqlplus at your machine! This should work before you try
to configure PHP.
best regards
Gerald