how to enable PHP on Apache?

Julie julie at corevps.com
Sat Apr 9 09:02:50 PDT 2005


>
> I did all you said, httpd-error.conf says: "Apache/1.3.33 (Unix)
> mod_perl/1.29 PHP/4.3.11 configured -- resuming normal operations"
>
> But when I try to access my phpmyadmin installation Firefox asks me which
> program I want to use to open this PHP file :(
>
> Any other ideas?
> I am somewhat lost here :(
>
> Greetings and TIA, Matthias

It sounds like you've not got any mime types set in httpd.confg. You want to 
add something like

AddType application/x-httpd-php .php .php4 .php3

See if that helps

-- 


Julie
CoreVPS Director
CoreVPS.com - Root Access FreeBSD and Linux servers from $7.99/mo


More information about the freebsd-questions mailing list