Skip to content

emrtnm/lamp-bash-script-for-ubuntu

Repository files navigation

Lamp Bash Script For Ubuntu

This script is written using the shell, in order to quickly deploy PHP environment for Ubuntu Servers. Simple but it is efficient and safe.

Includes

  • Apache2
  • PHP 5.6
  • PHP 7.4
  • PHP 8.1
  • MySQL5.7
  • MySQL8
  • phpMyAdmin4.9
  • phpMyAdmin5.2

PHP Extensions

For All Version: gd, mysql, imap ,curl, intl, pspell, recode, sqlite3, tidy, xmlrpc, xsl, zip, mbstring, soap, opcache, memcache, json, readline, xml

How To Use

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

List of Packages

  • 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 = Remove All Components!

License

This project is open-sourced software licensed under the GPL-3.0 license.

Make A Contribute!

#ubuntu #lamp #bash #scripts #apache #php #mysql5 #mysql #phpmyadmin #php8 #mysql8