dapper apache php issues

Mark Stone mark.stone at gmail.com
Fri Jun 9 20:25:41 UTC 2006


My laptop died a couple of days ago, and so I've just finished
installing Dapper on my new laptop. I'm using the desktoop install,
not the server install, but I do a lot of web development prototyping
off of my laptop so I'll need to get apache, php, mysql, and some
other stuff working.

Fine; I've used synaptic to grab the PHP5, PHP5-common, and a few
other packages, as well as apache2. Apache is running, and
http://127.0.0.1 resolves as it should. PHP, however, is not working.
I've put a world-readable file in /var/www called "testphp.php", which
consists of the following:
<?php phpinfo(); ?>

When I point my browser to http://127.0.0.1/testphp.php, however, no
page opens, and I'm prompted for an app with which to open it.
Further, I notice that php is not listed in the directory
/etc/apache2/mods-available.

I really don't want to have to compile apache from source to make sure
mod-php is included; that seems so anti-Ubuntu. But what am I missing?
Shouldn't this just work, given the steps above?


-Mark Stone




More information about the ubuntu-users mailing list