setting up php and apache.

Ashim Kapoor ashimkapoor at gmail.com
Fri Oct 8 12:54:09 UTC 2010


Dear All,

I am trying to set up Apache 2 and php 5 on my shiny new Ubuntu.

When I say http://localhost

I get a message which says "It works"

Now I made a file called test.php in /var/www with the content

# test.php
<?php phpinfo(); ?>

but when i say http://localhost/test.php i get a pop up which says you have
chosen to open test.php.

I am used WAMP in the past but I am new to LAMP. Any comments would help.

Many thanks,
Ashim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20101008/e235ed58/attachment.html>


More information about the ubuntu-users mailing list