Skip to content

How to Setup PHP Development Environment on Ubuntu & LinuxMint

Advertisement

If you are a PHP developer with Ubuntu system or configuring your computer / laptop for PHP development this article will help you to for configuring your Ubuntu system.

  • PHP
  • Apache
  • MySQL
  • PHP-IDE

1. Setup LAMP Stack

First install LAMP Setup on your Ubuntu system using following commands.

Install Apache

$ sudo apt-get install apache2

Install MySQL

$ sudo apt-get install mysql-server

Install PHP

$ sudo apt-get install php5 php5-mysql

2. Install Geany PHP IDE

Geany is available under default ubuntu repositories, but to install most recent version as ppa of Geany in our system. After that install it.

$ sudo add-apt-repository ppa:geany-dev/ppa
$ sudo apt-get update
$ sudo apt-get install geany geany-plugins

Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

Leave a Reply

Your email address will not be published. Required fields are marked *


Back to top