Specialists estimated.

Today I present a problem to configure. PHP, Apache, Oracle 10g
At the beginning tended to compile problem then export the variables in the 
PATH for Oracle, bookshops. Achieve install it without errors.

PHP is installed in the following path:

/ opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/oci8-1.3.3
Apache is installed.

/ usr/local/apache2/php-5.2.6

It installs Oracle 10g

/ opt/app/oracle/product/10.2.0 /

Environment Variables
TNS_ADMIN =
NLS_LANG = american_america.we8dec
PATH = / usr / sbin: / usr / bin: / usr / SFW / bin /: / usr / ccs / bin /: / 
oracle/product/instantclient_1 0_2: / usr / local / lib / php: / opt / app / 
oracle/product/10.2.0/lib /: / opt / app / oracle / pro ct/10.2.0/lib32 / / 
opt/app/oracle/product/10.2.0/instantclient32 / / oracle / product / 
instantclient_10_2 / / oracle/product/instantclient_10_2/sdk: / oracle / 
product / inst antclient_10_2/sdk/include / / 
opt/app/oracle/product/10.2.0/oc4j/j2ee/oc4j_applic ions / applications / em / 
em / sdk: / opt/app/oracle/product/10.2.0/sysman/admin/emdrep / sql / core / 
latest / sdk
ORACLE_HOME = / opt/app/oracle/product/10.2.0 /
Consultation process with the instruction = Consultation

However throws me the following error when trying to do the test in the Brosse
(mozilla or Explorer). Apparently has problems with a library, but then export 
routes from the libraries of ORACLE continuing problem.


Data

Warning: oci_connect () [function.oci-connect]: OCIEnvNlsCreate () failed. 
There is something wrong with your system - please check LD_LIBRARY_PATH that 
includes the directory with Oracle Instant Client libraries in / 
usr/local/apache2/htdocs/php/ConnOracle1.php on line 53

Warning: oci_parse () expects parameter 1 to be resource, boolean given in / 
usr/local/apache2/htdocs/php/ConnOracle1.php on line 54

Warning: oci_execute () expects parameter 1 to be resource, null given in / 
usr/local/apache2/htdocs/php/ConnOracle1.php on line 55

Warning: oci_fetch_array () expects parameter 1 to be resource, null given in / 
usr/local/apache2/htdocs/php/ConnOracle1.php on line 62

Warning: oci_close () expects parameter 1 to be resource, boolean given in / 
usr/local/apache2/htdocs/php/ConnOracle1.php on line 89


Be attentive to his comments.

Best regards.

Cesar
-- 
This message posted from opensolaris.org

Reply via email to