|
|
[ÀϹÝ] oracle10g + php5.1.2 error [OCIEnvNlsCreate() failed] |
|
È£¼® ´Ô²²¼ ¾´ ±ÛÀÔ´Ï´Ù - 211.¢½.74.31 |
ÀÐÀ½:7110 |
|
|
oracle10g + php5.1.2 error [OCIEnvNlsCreate() failed]
2006.10.20 09:39
http://tong.nate.com/marilith/27267031
Warning: ocilogon() [function.ocilogon]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME is set and points to the right directory in **** on line 523
1. ȯ°æ º¯¼ö ¼³Á¤ (/etc/bashrc, /usr/local/apache/bin/apachectl)
export ORACLE_HOME=/data/oracle/product/10.2.0/db_1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:${LD_LIBRARY_PATH}
export TNS_ADMIN=/data/oracle/product/10.2.0/db_1/network/admin
2. ÆÄÀÏ ¹× µð·ºÅ丮¿¡ ´ëÇÑ ÆÛ¹Ì¼Ç ¼³Á¤
chmod 755 /opt/oracle
chmod 755 /opt/oracle/product/102/bin
chmod 755 /opt/oracle/product/102/lib
chmod 644 /opt/oracle/product/102/lib/*.*
chmod 751 /opt/oracle/product/102/rdbms/log
chmod 751 /opt/oracle/product/102/rdbms/
chmod 751 /opt/oracle/product/102/sqlplus/
chmod 644 /opt/oracle/product/102/sqlplus/*
chmod 6751 /opt/oracle/product/102/bin/oracle <---- Áß¿ä
3. apache À¯Àú¸¦ oinstall, dba group¿¡ Ãß°¡ ½ÃÄÑÁØ´Ù.
php¿¡¼ ¿À¶óŬ Á¢¼ÓÀÌ ¾ÈµÇ¼ Çعø °Íµé. 3¹øÀÌ Å« ÀÌÀ¯ÀΰŠ°°´Ù. ¾î¶»µç Áö±ÝÀº ÇØ°á.
|
|
|
|
|
|