Thursday 1 December 2011

How to install php in linux ubuntu

how to install php in ubuntu , how to install php and apache2 in linux


php installation for ubuntu

open the terminal window then type the following command

to install apache web server type following

sudo apt-get install apache2 

sudo apt-get install libapache2-mod-php5

then, to install php type following command
 
apt-get install php5-mysql

then just restart apache

sudo /etc/init.d/apache2 restart  

for stop apache2
                 
                      sudo /etc/init.d/apache2 stop

or download manually and install,

          download php here

           download apache2 here

1 comments:

admin said...

thank you...

Post a Comment

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes