Created
June 26, 2018 09:45
-
-
Save marufmax/6c679405efd654b6304ef8c97bc8b5e9 to your computer and use it in GitHub Desktop.
PHP Ubuntu and Oracle
This file contains 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
sudo ln -s /opt/oracle/instantclient_12_1/sqlplus /usr/bin/sqlplus | |
sudo ln -s /opt/oracle/instantclient_12_1 /opt/oracle/instantclient | |
sudo ln -s /opt/oracle/instantclient_12_1/libclntsh.so.12.1 /opt/oracle/instantclient/libclntsh.so | |
sudo ln -s /opt/oracle/instantclient_12_1/libocci.so.12.1 /opt/oracle/instantclient/libocci.so | |
sudo apt install -y php7.1-fpm php7.1-curl php7.1-gd php7.1-mcrypt php7.1-mbstring php7.1-gettext php7.1-token-stream php7.1-zip | |
export LD_LIBRARY_PATH=/usr/lib/oracle/12.2/client/lib/:$LD_LIBRARY_PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment