oci8
| From: | Fred Silsbee | Date: | Sun, 16 Nov 2008 22:31:43 +0000 |
| Subject: | oci8 | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-5885@lists.php.net to get a copy of this message | ||
I have Fedora 9 2.6.27.5-37.fc9.i686 and Oracle 11g1
I downloaded oci8 133 and 134:
from:
http://pecl.php.net/package/oci8 134 and 133
I have
oracle@LMKIII oci8-1.3.4$ lsa
total 400
drwxr-xr-x 3 oracle oinstall 4096 2008-11-16 15:45 ./
drwxr-xr-x 3 oracle oinstall 4096 2008-11-16 15:44 ../
-rw-r--r-- 1 oracle oinstall 10733 2008-07-27 12:25 config.m4
-rw-r--r-- 1 oracle oinstall 683 2008-07-27 12:25 config.w32
-rw-r--r-- 1 oracle oinstall 173 2008-07-27 12:25 CREDITS
-rw-r--r-- 1 oracle oinstall 112710 2008-07-27 12:25 oci8.c
-rw-r--r-- 1 oracle oinstall 25037 2008-07-27 12:25 oci8_collection.c
-rw-r--r-- 1 oracle oinstall 5571 2008-07-27 12:25 oci8.dsp
-rw-r--r-- 1 oracle oinstall 60614 2008-07-27 12:25 oci8_interface.c
-rw-r--r-- 1 oracle oinstall 27927 2008-07-27 12:25 oci8_lob.c
-rw-r--r-- 1 oracle oinstall 49781 2008-07-27 12:25 oci8_statement.c
-rw-r--r-- 1 oracle oinstall 2696 2008-07-27 12:25 php_oci8.h
-rw-r--r-- 1 oracle oinstall 22050 2008-07-27 12:25 php_oci8_int.h
-rw-r--r-- 1 oracle oinstall 15077 2008-07-27 12:25 README
-rw-r--r-- 1 oracle oinstall 16384 2008-11-16 15:45 .README.swp
drwxr-xr-x 2 oracle oinstall 12288 2008-11-16 15:44 tests/
oracle@LMKIII oci8-1.3.4$ phpize also tried phpize.php
bash: phpize: command not found
the README says to run ,/configure but there is only config.m4 and config.w32
tried ./config.m4 --with-oci8=shared,$ORACLE_HOME but no luck
I am trying to get a PHP connection to Oracle 11g1
<?php
if ($c = oci_connect('hr','hr','//localhost/lmkiiiGDNSID')) {
echo "Successfully connected to Oracle.\n";
OCILogoff($c);
} else {
$err = OCIError();
echo "Oracle Connect Error " . $errtext;
}
?>
I get no errors just doesn't work!