Re: oci8.so extension builds, but does not do anything

From: Date: Fri, 16 Mar 2001 00:09:05 +0000
Subject: Re: oci8.so extension builds, but does not do anything
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2422@lists.php.net to get a copy of this message
Try running dl('oci8.so'); in a script you'll probably see a message saying oci8.so is not a valid extention or somthing. I'm trying to get the same thing working if you find out how let me know "Joseph Schlecht" <josephschlecht@meritcare.com> wrote in message news:98opp9$t9s$1@toye.p.sourceforge.net... > I'm using debian gnu/linux and having no luck in getting the oci8 extension > to work. > > I installed the php4 (4.0.4) package from the unstable branch in debian. > (This installation does not include support for oci8 because oci8 uses > proprietary libs from Oracle.) The installation, combined with apache, is > running very well. Now I need to add oci8 support, so I download the php4 > source. > > These are the steps I take to build the extension: > > I've installed php4 already, I just nead to build the oci8 extension. I > have a working ORACLE_HOME. I get the php4 source package from debian and > move into (php_source_dir)/ext/oci8 and execute phpize. I execute > ./configure. I execute make install. The install goes smoothly. > > All of the commands execute successfully and oci8.so is installed where the > rest of my php4 extensions are. I edit php.ini and add 'extension=oci8.so'. > I restart apache. > > When I run a test, like ocilogon("scott","tiger",$db), it tells me that > ocilogon is an undefined function. I run phpinfo(), I notice that all of my > other extensions have loaded, BUT NOT OCI8! > > Does anyone know why this extension will not load? > > Thanks, > > Joseph Schelcht > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.install (#2422) next »