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!
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to