Tech News Today, Marshmallow Custom Rom, Huawei, Run Programs, Network, Chromebook, Bank Account

Minggu, 22 Juli 2012

Installing PHP5 and Apache in Ubuntu & Linux MInt

Installing PHP5 and Apache in Ubuntu & Linux MInt - To all visitors of this blog, I say welcome and thank you for visiting the blog Tech News Today Look for all the things you need that are available on this blog. If not available, please leave suggestions and comments for the development of this blog. now we will discuss first about Installing PHP5 and Apache in Ubuntu & Linux MInt we have collected a lot of information from sources to create this article, so please see.

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



information Installing PHP5 and Apache in Ubuntu & Linux MInt has been completed in the discussion.

hopefully the article we give the title Installing PHP5 and Apache in Ubuntu & Linux MInt can provide knowledge for you in living everyday life in determining the gadget that suits your needs.

you just read the article about Installing PHP5 and Apache in Ubuntu & Linux MInt if this article is useful for you and want to bookmark it or share it please use the link https://sihanandi.blogspot.com/2012/07/installing-php5-and-apache-in-ubuntu.html thank you and do not forget to comment if anyone.

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

Related : Installing PHP5 and Apache in Ubuntu & Linux MInt

0 komentar:

Posting Komentar