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

