Apacheï¼PHPã§ç°å¢å¤æ°ã追å ãããã OS RHEL4 PHP 5.2.3 Apache 2.0.52 Oracleã使ãããã« ORACLE_HOME LD_LIBRARY_PATH NLS_LANG ãè¨å®ãããã Apacheã®å®è¡ã¦ã¼ã¶ã¯nobodyã§ãOracleã«å¿ è¦ãªç°å¢å¤æ°ããªãã 追å ããæ¹æ³ã¨ãã¦æãã¤ããã®ã¯ä»¥ä¸ã 1. httpd.conf ã« SetEnv ãæ¸ã SetEnv ORACLE_HOME /oracle/home/ 2. PHPã³ã¼ãå ã« putenv ãæ¸ã putenv('ORACLE_HOME=/oracle/home/'); 3. /etc/sysconfig/httpd ã« export ãæ¸ã export ORACLE_HOME=/oracle/home/ 1. 㯠Apache Environment ã»ã¯ã·ã§ã³ï¼$_SERV
{{#tags}}- {{label}}
{{/tags}}