|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-03-26 05:50 UTC] maxim@php.net
[2003-03-31 01:56 UTC] sniper@php.net
[2003-03-31 03:04 UTC] admin at iut-info dot ens dot univ-reims dot fr
[2003-04-23 04:57 UTC] sniper@php.net
[2003-04-28 04:23 UTC] admin at iut-info dot ens dot univ-reims dot fr
[2003-04-28 04:34 UTC] edink@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 00:00:02 2025 UTC |
----- CONFIGURE ------ ./configure \ --with-oci8 \ --with-apache=../apache_1.3.27 \ --with-gd \ --with-pdflib=/opt/pdflib \ --with-jpeg-dir \ --with-png-dir \ --with-tiff-dir \ --with-zlib \ --with-bz2 \ --enable-sigchild \ --with-mysql=/opt/mysql4 \ --with-pgsql=/opt/pgsql \ --with-tsrm-pthreads \ --with-dom \ --enable-ftp \ --enable-sockets ----- testoci8.php ---------------------------------- <HTML><HEAD><TITLE>Test de connexion PHP - Oracle 8i</TITLE></HEAD> <BODY> <PRE><?php putenv("ORACLE_HOME=/oracle/app/oracle/product/8.1.7"); $conn = OCILogon("collet", "pass", "bd8"); if ($conn ) { echo "OCILogon Ok\n"; echo "Server Version: " . OCIServerVersion($conn) . "\n"; $st=OCIParse($conn, "SELECT * FROM essai"); if (OCIExecute($st)) { $nrows = OCIFetchStatement($st,$results); print "<BR>$nrows Records Selected<BR>\n"; } OCILogOff($conn); } else echo " OCILogon ERREUR\n"; ?> </PRE></BODY></HTML> ---- Result with PHP-4.3.0 ------- OCILogon Ok Server Version: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production JServer Release 8.1.7.0.0 - Production 2 Records Selected ---- Result with PHP-4.3.2 ----- OCILogon Ok Server Version: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production JServer Release 8.1.7.0.0 - Production Warning: ociparse() [function.ociparse]: OCIParse: ORA-00001: unique constraint (%s.%s) violated in /home/prof/collet/public_html/testoci8.php on line 12 Warning: ociexecute(): supplied argument is not a valid OCI8-Statement resource in /home/prof/collet/public_html/testoci8.php on line 13 ------------------ Cordialy.