Click to See Complete Forum and Search --> : Creation Of Dynamic Lib Extensions


footieMad
10-08-2002, 11:04 AM
I've sucessfully created an Apache 2 module loading PHP 4.2.3
with OCI8... wonderful.

I now want to run a PHP script from the command line, that
connects to Oracle and fabricates some useful tables to place
in the doc root from time to time, when needs be.

I run ' php myScript.php '
I get ' call to undefined function ociplogin'

I can't put 'extension=php_oci.so' in the php ini file
because php_oci.so doesn't exist !

I found some hand crafted hack to create php_oci.so
- but this core dumps when attempting to take a mutex on
the pthread.

Question: What is the proper way to build .so files with this
so called "libtool" ??