Skip to content

Installing Apache2/PHP7.3/MySQL for a development web server on a ubuntu server 18.04.

License

Notifications You must be signed in to change notification settings

zohac/ubuntu-server-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installing an Apache2/PHP7.3/MySQL web server

Codacy Badge Build Status

Installing Apache2/PHP7.3/MySQL for a development web server on a ubuntu server.

Script tested on linux distribution Ubuntu 18.04 LTS.

The script installs the following components:

  • Apache2
  • MySQL
  • PHP7.3
  • xdebug
  • Composer
  • PHP-CS-FIXER
  • PHP code sniffer
  • PHP mess detector
  • PHP Copy/Paste Detector
  • BlackFire
  • samba
  • zsh

Requirements

sudo apt-get install git

Installation

Git Clone

You can also download the script source directly from the Git clone:

git clone https://github.com/zohac/ubuntu-server-web.git

Run the script

bash ubuntu-server-web/install.sh

After Reboot - Configure BlackFire

Installing the Agent

BlackFire.io

  1. Configure your Blackfire credentials:
sudo blackfire-agent -register
  1. After registering the agent, and whenever you modify its configuration, you have to restart its service:
sudo /etc/init.d/blackfire-agent restart

Installing the Blackfire CLI tool

  • Run the config command to initialize the client:
blackfire config

Issues

Bug reports and feature requests can be submitted on the Github Issue Tracker

Author

Simon JOUAN https://jouan.ovh

About

Installing Apache2/PHP7.3/MySQL for a development web server on a ubuntu server 18.04.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages