note 9854 deleted from ref.oci8 by didou
| From: | didou@php.net | Date: | Mon, 11 Aug 2003 21:16:31 +0000 |
| Subject: | note 9854 deleted from ref.oci8 by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53903@lists.php.net to get a copy of this message | ||
Note Submitter: tobias.fritz@gmx.net
----
After I finally managed to compile PHP 4.0.3pl1 (./configure --with-mysql --with-oci8
-with-apxs=/usr/local/apache/bin/apxs --enable-trans-sid) for accessing Oracle on another machine (I
first had to install the Oracle client on the webserver and copy some files (that PHP was missing
during make) from the Oracle Server to $ORACLE_HOME/rdbms/demo on the webserver) I got the very
annoying message: "Warning: _oci_open_server: Error while trying to retrieve text for error
ORA-12154".
I was looking here and on the web and finally found the problem: when I installed the Oracle Client
it didn't allow me to install it as root, so I installed it with my user and everything went
into my homedirectory (:-|). On the other hand apache is running with user and group nobody
(httpd.conf). Since I replaced user and group in httpd.conf with the user and group with which I
installed the oracle client everthing works smooth. Hope this helps to prevent some headache.