Hi, I'm working on setting up a server (running openSuse 10.2) to host PHPBB, Wordpress, etc. I've installed and configured (to the best of my ability) Apache, MySQL, and PHP. However, when I go to the link to setup Wordpress, all it does it display the PHP code instead of executing it.
According to
Wordpress's site, this is because PHP isn't configured correctly.
I installed PHP using
this site. Running make test displayed a whole plethora of bugs, but make and make install ran fine, so I'm hoping they weren't critical bugs.
I'm guessing my mistake was in editing the httpd.conf file. I think the installation took care of adding the line
LoadModule php5_module modules/libphp5.so, so here's what I added (the text in bold)...
Code:
</IfModule>
<IfModule mime_module>
AddType application-x-httpd-php .php .phtml
</IfModule>
Any help would be greatly appreciated!