Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get install apache2 -y
- sudo systemctl start apache2.service
- sudo update-rc.d apache2 defaults
- sudo apt-get install mysql-server -y
- sudo /usr/bin/mysql_secure_installation
- sudo apt-get install php php-mbstring php-mcrypt php-curl php-mysql php-bz2 php-zip php-gd php-intl php-bcmath -y
- sudo apt-get install libapache2-mod-php -y
- sudo systemctl enable apache2.service
- sudo systemctl enable mysql.service
- systemctl restart apache2.service
- sudo a2enmod rewrite <-- enable mod_rewrite to diable sudo a2dismod rewrite
- if you want to use multiple php verions in the same box see https://www.tecmint.com/install-different-php-versions-in-ubuntu/
Advertisement
Add Comment
Please, Sign In to add comment