Last active
February 4, 2020 10:22
-
-
Save iruwl/c3398bf9765c82a917f9e512e87fbfec to your computer and use it in GitHub Desktop.
Install Apache2 PHP5 on Linux #apache2 #php #linux
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
1. sudo apt-get install apache2 | |
2. echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/fqdn.conf | |
3. sudo a2enconf fqdn | |
4. service apache2 reload | |
5. sudo apt-get install php5 php5-cli libapache2-mod-php5 php5-mcrypt | |
6. list available php5 modules | |
apt-cache search php5- | |
7. sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment