Welcome, Guest! Sign Up RSS

Covering Hollyhood Microsoft Google Apple

Friday, 2024-11-22
Main » 2012 » March » 24 » Installing PHP4 and Apache on Ubuntu
11.09.06 AM
Installing PHP4 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 quick and easy way to get PHP up and running on your Ubuntu box.

First, you’ll want to add the extra repositories to Ubuntu’s sources.list file.

From a command shell, you will run the following commands:

sudo apt-get install apache2

sudo apt-get install php4

sudo apt-get install libapache2-mod-php4

sudo /etc/init.d/apache2 restart

Note that if apache is already installed you can omit the first line. Your web files will now be found in /var/www/

Note that this is nearly the same as installing PHP5, which is the latest version.

Category: Vista and 7 Tips and Tricks! | Views: 823 | Added by: Adamsummer | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Sign Up | Login ]
Blogger Widgets