Re: Re: Oracle + PHP

From: Date: Mon, 02 Feb 2004 15:23:08 +0000
Subject: Re: Re: Oracle + PHP
References: 1 2 3  Groups: php.db php.general 
Request: Send a blank email to php-db+get-32756@lists.php.net to get a copy of this message
Ok, thanks.... I will try it..... Michael Mauch wrote:
Luis Moran Ochoa wrote:
ORACLE_SID=OWEB ;    export ORACLE_SID;                             ORACLE_HOME=/usr/oracle/product;   export ORACLE_HOME;
TNS_ADMIN=/usr/oracle/product/network/admin; export TNS_ADMIN; ORACLE_BASE=/usr/oracle; export ORACLE_BASE; ORA_NLS33=/usr/oracle/product/ocommon/nls/admin/data; export ORA_NLS33; ORA_NLS=/usr/oracle/product/ocommon/nls/admin/data; export ORA_NLS; NLS_LANG=spanish_spain.we8dec; export NLS_LANG; TNS_ADMIN=/usr/oracle/product/network/admin; export TNS_ADMIN; CLASSPATH=:/usr/local/jre:/usr/oracle/product/jdbc/lib/classes111.zip: export CLASSPATH; LD_LIBRARY_PATH=/usr/oracle/product/lib:/usr/oracle/product/jdbc/lib: export LD_LIBRARY_PATH
Perhaps some variables are set in the start script, but not in your root shell. Put a export >/tmp/apache-start in the start script to see which variables are set. Boot, move /tmp/apache-start to /tmp/apache-boot, stop apache, start apache from your root shell. "diff -u /tmp/apache-boot /tmp/apache-start" will show the differences. Or try to unset the locale variables in the start script: unset LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL Some parts of Apache/Oracle/whatever-else apparently has trouble with locales. Regards... Michael


« previous php.db (#32756) next »