Do you want to install PHP and Apache Server in Ubuntu 14.04?. Great, In this article we are discussing the installation procedure of PHP as well as Apache. You may need PHP while developing phase of any website and as you know that Apache and PHP go hand on hand during the development of any internet site.
Just have a glance at this article to find out how to install PHP in Ubuntu 14.04
Steps to install PHP and Apache server:
Step 1: First open your terminal by pressing (Ctrl+Alt+T) key combination and then type: “sudo apt-get install apache2” to install Apache 2.
Step 2: Press Y when prompted,“Do you want to continue[Y/N]”.
Step 3: Now, type “sudo apt-get install php5” and then press enter. This command install PHP in your system.
Step 4: Again type Y when prompted do you want to continue.
Step 5: Now, type “sudo apt-get install libapache2-mod-php5”.
Step 6: Then type “sudo /etc/init.d/apache2 restart”.
Step 7: Type your Ubuntu password when prompted.
That’s all friends. Keep reading.
Leave a Reply