Created
June 13, 2017 07:50
-
-
Save zc1415926/7596428cdd7a2ae92de67ba08ab02836 to your computer and use it in GitHub Desktop.
cloud9 update to php7.1 and mysql5.6 tips
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 apt-get install php-pear | |
pecl install pdo | |
pecl install pdo_mysql | |
extension = pdo.so | |
extension = pdo_mysql.so | |
sudo vi /etc/php/7.1/apache2/php.ini | |
sudo add-apt-repository ppa:ondrej/apache2 | |
sudo apt-get update | |
sudo apt-get install libapache2-mod-php7.1 | |
ln -s /usr/include/php5 /usr/include/php | |
sudo apt-get install php7.1-dev | |
sudo apt-get install php7.1-mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment