Installing PHP5 and Apache on Ubuntu
If you are doing any kind of PHP development, you'll almost always be using Apache along with it. Here's the way to get PHP up and running on your Ubuntu box.
From a command shell, you will run the following commands:
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart
Your web files will now be found in /var/www/
No comments:
Post a Comment