Created
July 6, 2015 01:38
-
-
Save henter/8fb1bff8eb2942fd31a1 to your computer and use it in GitHub Desktop.
ubuntu install php oci8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/profile | |
ORACLE_HOME=/usr/lib/oracle/12.1/client64 | |
TNS_ADMIN=/usr/lib/oracle/12.1/client64 | |
LD_LIBRARY_PATH=$ORACLE_HOME/lib | |
#NLS_LANG=american_america.utf8 | |
NLS_LANG=ZHS16GBK | |
export ORACLE_HOME LD_LIBRARY_PATH NLS_LANG | |
export C_INCLUDE_PATH=/usr/include/oracle/12.1/client | |
#install | |
apt-get install php-pear | |
pecl install oci8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment