Skip to content

조회 수 71308 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

Warning: ociplogon() [function.ociplogon]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME is set and points to the right directory in /home/httpd/html/ora_test.php on line 5

 

1. apachectl set

vi /usr/local/apache/bin/apachectl

########################################################################################
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
LD_LIBRARY_PATH=/u01/app/oracle/product/10.2.0/db_1/lib:/lib:/usr/lib:${LD_LIBRARY_PATH}
TNS_ADMIN=/u01/app/oracle/product/10.2.0/db_1/network/admin
export ORACLE_HOME LD_LIBRARY_PATH TNS_ADMIN
########################################################################################

 

2. chmod 

# find $ORACLE_HOME \( -perm 750 -o -perm 640 \) -print|wc -l


# chmod -R o+rx $ORACLE_HOME


Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234