This script is written using the shell, in order to quickly deploy PHP environment for Ubuntu Servers. Simple but it is efficient and safe.
- Apache2
- PHP 5.6
- PHP 7.4
- PHP 8.1
- PHP 8.2
- MySQL5.7
- MySQL8
- phpMyAdmin4.9
- phpMyAdmin5.2
For All Version: gd, mysql, imap ,curl, intl, pspell, recode, sqlite3, tidy, xmlrpc, xsl, zip, mbstring, soap, opcache, memcache, json, readline, xml
The easiest way to get started is to clone the repository:
# Get the repo
sudo git clone https://github.com/emrtnm/lamp-bash-script-for-ubuntu.git
# Chmod
sudo chmod +x ./lamp.sh
# Run
./lamp.sh
- 0 = PHP5.6 + MySQL8
- 1 = PHP7.4 + MySQL8
- 2 = PHP7.4 + MySQL8 + PhpMyAdmin
- 3 = PHP8.1 + MySQL8
- 4 = PHP8.1 + MySQL8 + PhpMyAdmin
- 5 = PHP5.6 + MySQL5.7
- 6 = PHP5.6 + MySQL5.7 + PhpMyAdmin
- 7 = Add Domain
- 8 = Remove Domain
- 9 = Repair Chmod For Domain
- 10 = PHP8.2 + MySQL8
- 11 = PHP8.2 + MySQL8 + PhpMyAdmin
- 99 = Remove All Components!
This project is open-sourced software licensed under the GPL-3.0 license.
#ubuntu #lamp #bash #scripts #apache #php #mysql5 #mysql #phpmyadmin #php8 #mysql8