Setting-up apache & php

Emil Oppeln-Bronikowski opi at cyb3r.org
Sun Jan 9 15:41:03 UTC 2005


Giovanni Sce wrote:

> AddType application/x-httpd-php .php
> DirectoryIndex index.php index.html index.html.var

> I've created the file and attempting to open in Firefox but the browser
> simply asks me what I want to do with the file 

  You're using http://127.0.0.1/path/phpinfo.php, right? Then maybe your 
Apache configuration is missing a directive to load php module?

rohan:/home/emil# cat /etc/apache/modules.conf | grep -i php
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

  See, this is my Debian system at work. Check it out.

-- 
  Emil Oppeln-Bronikowski, software departament of TPnets.com
  http://opi.pegasos.pl http://ubuntulinux.org

  SELECT users FROM my_server WHERE iq > 15;
  Empty set (0.05 sec)




More information about the ubuntu-users mailing list