Skip to content

Instantly share code, notes, and snippets.

@antfroger
antfroger / post.md
Last active July 18, 2023 09:13 — forked from kbond/post.md
Ubuntu LAMP Development Environment Setup

Install apache/php:

sudo apt-get install apache2 php5 php5-cli libapache2-mod-php5 php5-dev

Ensure this worked by visiting http://localhost/. You should see It works!.

Install useful php modules:

sudo apt-get install php5-mcrypt php5-xdebug php5-curl php5-sqlite php5-xsl php-pear php-apc php5-intl
sudo pear install --alldeps PHP_CodeSniffer