Opened 11 years ago
Last modified 11 years ago
#39393 new enhancement
Oracle - Add path to Apache envvars — at Initial Version
Reported by: | jkorchok@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | php5-oracle, oracle-instantclient |
Description
After installing the php5-oracle and oracle-instantclient ports on a number of machines, I have found by trial and error that these ports require the following line to be added to /opt/local/apache2/bin/envvars: export DYLD_LIBRARY_PATH = "/opt/local/lib/oracle/:$DYLD_LIBRARY_PATH"
If this line is missing in envvars, you will see the following error in the Apache or PHP error log: "PHP Warning: oci_connect: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that the DYLD_LIBRARY_PATH includes the directory with the Oracle Instant Client libraries in..."
Would it be possible to make the port installation add this line to envvars?
Note: See
TracTickets for help on using
tickets.