Re: installing PHP with-apxs with-oci8 --with-oracle on Linux
| From: | Jani Taskinen | Date: | Wed, 14 Mar 2001 17:21:44 +0000 |
| Subject: | Re: installing PHP with-apxs with-oci8 --with-oracle on Linux | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2391@lists.php.net to get a copy of this message | ||
On Wed, 14 Mar 2001, Damien Lièvre wrote:
>I've successfully installed PHP4 on Linux, Apache with-apxs,
>
>I wanted to add support for Oracle ,
>
>I' ve installed Oracle Client (8.1.7), SQL+ works fine,
>I've executed :
>./configure --with-apxs=/usr/local/apache/bin/apxs --with-oci8=/home/oracle/
>OraHome1 --with-oracle=/home/oracle/OraHome1
>make
>make install
>
>when I restart Apache I get the Error Message:
>
>Cannot load /usr/local/apache/libexec/libphp4.so into server:
>libclntsh.so.8.0: cannot open shared object file:
Do you have the path to libclntsh.so.8.0 in /etc/ld.so.conf ??
If not, add it and run /sbin/ldconfig
Also, make sure you have all the oracle specific environment variables
mentioned at http://www.php.net/oci8
Also, if it still doesn't work, make sure your Apache is linked with
libpthread ( # ldd httpd )
Read the page ( http://www.php.net/oci8 ) and the user notes
on that
page for more information.
--Jani