Tech News World, Contacts Samsung Galaxy, Windows 8, Nokia Lumia, Quad Core Smart Phones, HTC smartphone, Google Nexus, MacBook, PayPal

Sunday, July 22, 2012

Installing PHP5 and Apache in Ubuntu & Linux MInt

Installing PHP5 and Apache in Ubuntu & Linux MInt - Although I work in the office and a lot of work that makes me tired but still I make a blog Tech News World and still will update it for you because this is part of my hobby who likes the world of technology, especially about the gadget, now we will discuss first about Installing PHP5 and Apache in Ubuntu & Linux MInt because it is the topic that you are now looking for, please refer to the information I provide in the guarantee for you,

Articles : Installing PHP5 and Apache in Ubuntu & Linux MInt
full Link : Installing PHP5 and Apache in Ubuntu & Linux MInt

You can also see our article on:


Installing PHP5 and Apache in Ubuntu & Linux MInt

If you are doing any kind of PHP development, you’ll almost always be using Apache along with it.

To install the default LAMP stack

First install tasksel... 

sudo apt-get install tasksel

.. and then the LAMP stack:

sudo tasksel install lamp-server


Installing PHP 5

  • To install PHP5 you can enter the following command in the terminal prompt:

    sudo apt-get install php5 libapache2-mod-php5


    You can run PHP5 scripts from command line. To run PHP5 scripts from command line you should install php5-cli package. To install php5-cli you can enter the following command in the terminal prompt:

    sudo apt-get install php5-cli


    You can also execute PHP5 scripts without installing PHP5 Apache module. To accomplish this, you should install php5-cgi package. You can run the following command in a terminal prompt to install php5-cgi package:
     
    sudo apt-get install php5-cgi


    To use MySQL with PHP5 you should install php5-mysql package. To install php5-mysql you can enter the following command in the terminal prompt:
     
    sudo apt-get install php5-mysql


    Similarly, to use PostgreSQL with PHP5 you should install php5-pgsql package. To install php5-pgsql you can enter the following command in the terminal prompt:
     
    sudo apt-get install php5-pgsql



so much information about Installing PHP5 and Apache in Ubuntu & Linux MInt

hopefully information Installing PHP5 and Apache in Ubuntu & Linux MInt can provide useful knowledge for you in getting information about the latest gadgets,

just finished your reading article about Installing PHP5 and Apache in Ubuntu & Linux MInt if you feel this article useful for you please bookmark or share using link http://aziin5teens.blogspot.com/2012/07/installing-php5-and-apache-in-ubuntu.html for more people know

Tag :
Share on Facebook
Share on Twitter
Share on Google+
Tags :

Related : Installing PHP5 and Apache in Ubuntu & Linux MInt

0 comments:

Post a Comment