Created
September 14, 2022 09:12
-
-
Save initcron/d0a94f01ed372837aabbffab13e32b4a to your computer and use it in GitHub Desktop.
Install PHP 5.6 and Apache 2 on Ubuntu
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
#!/bin/bash | |
sudo LC_ALL=en_US.UTF-8 add-apt-repository -y ppa:ondrej/php | |
sudo LC_ALL=en_US.UTF-8 add-apt-repository -y ppa:ondrej/apache2 | |
sudo apt update | |
sudo apt install -y software-properties-common language-pack-en-base dialog apt-utils | |
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 | |
sudo cp /usr/share/zoneinfo/America/New_York /etc/localtime | |
sudo apt install -yq apache2 php5.6 php5.6-mysql mysql-client |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment