I don't really like editing the main httpd.conf file if I don't have to. So the cleanest way to enable php is to create something like
/etc/apache2/other/enable_php.conf with the following content:
LoadModule php5_module libexec/apache2/libphp5.so
Then, restart the web server.
No comments:
Post a Comment