Installing PHP5 and Apache in Ubuntu & Linux MInt

Installing PHP5 and Apache in Ubuntu & Linux MInt - welcome to our blog Techno Live, now we will discuss information about the Installing PHP5 and Apache in Ubuntu & Linux MInt, our admins on this blog has been around to collect information you are looking for so that we usakan to display complete information for you, and in this blog, you can also search for other information, ok please continue reading may be easily understood:

This is about : Installing PHP5 and Apache in Ubuntu & Linux MInt
And this article : 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



    Articles Installing PHP5 and Apache in Ubuntu & Linux MInt finished we discussed

    A few of our information about the Installing PHP5 and Apache in Ubuntu & Linux MInt, I hope you can exploit carefully

    No've You've finished reading an article on Installing PHP5 and Apache in Ubuntu & Linux MInt and many articles about modern home in our blog this, please read it. and url link of this article is http://liveeconcerts.blogspot.com/2012/07/installing-php5-and-apache-in-ubuntu.html Hopefully discussion articles on provide more knowledge about the world of tech gadgets.

    Tag :

    Related Posts :

    0 Response to "Installing PHP5 and Apache in Ubuntu & Linux MInt"

    Post a Comment