# cat > oratest2.php
<?
$conn = OCILogon("scott","tiger","csoracle") or die ("¿¬°á¿¡ ½ÇÆÐÇß¾î¿ä");
echo gettype($conn). ":" . get_resource_type($conn) ."<p>";
echo OCIServerVersion($conn);
?>
http://°æ·Î/oratest2.php
¼º°øÇÏ¼Ì´Ù¸é ¾Æ·¡¿Í °°ÀÌ oracle ¹öÀüÀÌ Ãâ·ÂµÉ²®´Ï´Ù.
resource:oci8 connection
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production With the Partitioning option JServer Release 8.1.7.0.0 - Production
Âü°í·Î ¾Æ·¡´Â Á¦°¡ÁØ php Configure ¿É¼ÇÀÔ´Ï´Ù.
########################################################
# ./configure --with-mysql=/usr/local/mysql \
--with-oracle=/oracle/products \
--with-oci8=/oracle/products \
--with-apache=/home/blue/apache_1.3.27 \
--with-java=/usr/java \
--with-charset=euc_kr \
--prefix=/usr/local/lib \
--with-config-file-path=/usr/local/lib \
--enable-track-vars \
--enable-sigchild \
--disable-debug \
--with-gd=/usr/local/gd \
--with-jpeg \
--with-openssl=/usr/local/openssl
########################################################
Èıâ
--with-zlib °¡ ¸ÕÁö´Â ¸ð¸£³ª ÀÌ ¿É¼Ç ºÙ¿´´Ù°¡ ÀÚ²Ù ¿¡·¯ ¹ß»ýÇؼ¤Ñ_¤Ñ 3½Ã°£ »ðÁúÇÑÀû ÀÖ½À´Ï´Ù.( ¼Ö¶ó 9(sparc) ¿¡¼¿ä..( -_-))
ÂüÁ¶ : PHP ÇÔ¼ö ·¹ÆÛ·±½º ÀúÀÚ : À̽ÂÇõ
|