Configuring php on Ubuntu server

Posted by mk_89 on Ask Ubuntu See other posts from Ask Ubuntu or by mk_89
Published on 2012-09-05T14:47:05Z Indexed on 2012/09/05 15:51 UTC
Read the original article Hit count: 216

Filed under:
|

I have been following this tutorial

http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-12.04-lts-lamp

And I have got to the part where I am running a simple test to determine whether php has been installed properly

the installation went fine, I installed php5 using the following command apt-get install php5 libapache2-mod-php5 and I then restarted the server.

to see whether php5 has been installed I did the following

created a file vi /var/www/info.php

edited the file <?php phpinfo(); ?>

after trying to run it on my server I get a 404 Not Found error. What could be the problem?

© Ask Ubuntu or respective owner

Related posts about apache

Related posts about php