Setup LAMP on Ubuntu

Setup LAMP on Ubuntu

Postby administrator on Tue Dec 04, 2007 2:17 pm

The following guide list all the steps to setup a LAMP (Linux+Apache+Mysql+Php) environment on Ubuntu.

1. Apache installation

execute the following command
Code: Select all
sudo apt-get install apache2


2. Php installation

execute the following command
Code: Select all
sudo apt-get install php5 libapache2-mod-php5


restart Apache
Code: Select all
sudo /etc/init.d/apache2 restart


3. Mysql Installation

execute the following command
Code: Select all
sudo apt-get install mysql-server


4. PhpMyAdmin Installation

execute the following command
Code: Select all
sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin


5. PHP configuration for Mysql

open file php.ini
Code: Select all
gksudo gedit /etc/php5/apache2/php.ini


edit this line:
Code: Select all
;extension=mysql.so


as
Code: Select all
extension=mysql.so


6. Restart Apache to reload configuration and apply the changes

Code: Select all
sudo /etc/init.d/apache2 restart


Now you are ready for' WFiles Installation
administrator
Amministratore
 
Posts: 8
Joined: Wed Nov 21, 2007 10:25 am

Return to Installation and Configuration

Who is online

Users browsing this forum: No registered users and 0 guests

cron