Now restart the Apache Server ( sudo /etc/init.d/apache2 restart )
To test if installation was successful or not, lets create one test file, run the following command. sudo gedit /var/www/test_file.php . This will open up gedit editor. Type . Save the file and close gedit.
Now open your favorite Web Browser and go to the URL http://localhost/test_file.php
You should see something like this.

Source: http://ubuntuexperiment.wordpress.com/2008/11/10/installing-apache-php-mysql/
No comments:
Post a Comment