Christopher Jones wrote: > Adriano Rocha wrote: > > > I'm running Linux RedHat7.3 with PHP 4.3.3. > >> root # > ./configure --with-oci8 (no errors) >> root # > make (no errors) >> root # > make install (no errors) >> >> ... it does not create the oci8.so file.
That's perfectly normal. "--with-oci8" configures for built-in oci8 support, so you don't need a oci8.so file. >> Obviously, php pages on OCILogon and related functions crashes with >> undefined function error. Look at a page that has just: <?php phpinfo() ?> Probably you will see that your Apache still uses the old PHP, not the new one that you built. Your configure line builds a PHP binary, not a PHP module or CGI. Use the configure line from your old PHP (it's printed in the phpinfo() output) and append "--with-oci8". > - Does the initial "make" compile oci8.c in anyway? > - Is your ORACLE_HOME environment variable set before you run configure? > - Perhaps you need to use --with-oci8=$ORACLE_HOME ? > - Double check installation by seeing if an OCI8 section is returned by phpinfo() > > See also http://otn.oracle.com/tech/opensource/php/apache/inst_php_apache_linux.html Yes, and see also <http://www.php.net/oci8>, there a couple more environment variables that should be set (and exported) before Apache is started. Regards... Michael -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php