|
Posted by Andy Hassall on 01/22/06 19:01
On Sun, 22 Jan 2006 16:08:24 GMT, Mladen Gogala <gogala@sbcglobal.net> wrote:
>Unfortunately, Andy Hassall has also
>reproduced it. See the recent thread called "5.1.2 woes" on
>comp.lang.php
Hm, I've just tried it again, and now it works - if I do a clean rebuild with
the new option. Maybe something was cached or not rebuilt the last time.
root@testbox /usr/src/php-5.1.2 $ cat /usr/local/apache2/htdocs/oci8.php
<?php
echo $_ENV['ORACLE_HOME'] . "\n";
echo $_ENV['LD_LIBRARY_PATH'] . "\n";
echo $_ENV['TNS_ADMIN'] . "\n";
$conn = oci_connect('test', 'test', 'test102', 'WE8ISO8859P15');
echo "Server Version: " . oci_server_version($conn);
?>
root@testbox /usr/src/php-5.1.2 $ rm -f config.cache && make clean >/dev/null
&& \
> /usr/local/apache2/bin/apachectl stop && \
> ./configure \
> --prefix=/usr/local/php \
> --with-apxs2=/usr/local/apache2/bin/apxs \
> --with-oci8=$ORACLE_HOME \
> --disable-pdo \
> --enable-sigchild >>log 2>&1 && \
> make >>log 2>&1 && \
> make install >>log 2>&1 && \
> /usr/local/apache2/bin/apachectl start && \
> GET http://testbox.localhost/oci8.php
/u01/app/oracle/product/10.2.0/db_1
/usr/local/apache2/lib:/u01/app/oracle/product/10.2.0/db_1/lib
/u01/app/oracle/admin
Server Version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 -
Production
With the Partitioning, OLAP and Data Mining options
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|