On Dec 5, 2007, at 07:26, Russell Gold wrote:
On Dec 5, 2007, at 7:50 AM, Jyrki Wahlstedt wrote:
Do you have the corresponding LoadModule line in your httpd.conf? I have ('grep php /opt/local/apache2/conf/httpd.conf'): LoadModule php5_module modules/libphp5.so DirectoryIndex index.html index.php Include conf/extras-conf/mod_php.conf
(the first is necessary, the rest not)
I did have the first line. What I did not have, and what proved to be the difference, was the include statement (which makes apache recognize the .php file extension). The install actually placed mod_php.conf in a different directory, so I didn't see it. Moving it to conf/extra and including it make everything work. Thanks!
What directory did it place it in? Is this something I should be changing in the php5 port to make installation easier? Since I've had php5 installed for so long, I've forgotten what steps were required, and it's sometimes hard for me to see the newcomer's perspective here.