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
- GIT: The script requires GIT. https://git-scm.com/
sudo apt-get install git
You can also download the script source directly from the Git clone:
git clone https://github.com/zohac/ubuntu-server-web.git
bash ubuntu-server-web/install.sh
- Configure your Blackfire credentials:
sudo blackfire-agent -register
- After registering the agent, and whenever you modify its configuration, you have to restart its service:
sudo /etc/init.d/blackfire-agent restart
- Run the config command to initialize the client:
blackfire config
Bug reports and feature requests can be submitted on the Github Issue Tracker
Simon JOUAN https://jouan.ovh