Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-24-2007, 11:27 AM   #1
LQ Newbie
Registered: May 2007
Distribution: openSuse
Posts: 10

Rep: Reputation: 0
PHP 5 + Apache not configured correctly.

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/, so here's what I added (the text in bold)...

<IfModule mime_module>
AddType application-x-httpd-php .php .phtml
Any help would be greatly appreciated!
Old 09-24-2007, 12:06 PM   #2
LQ Newbie
Registered: May 2007
Distribution: openSuse
Posts: 10

Original Poster
Rep: Reputation: 0
Well, it's started working... I have no idea why. If anyone would still explain what's going on here, though, I would appreciate it. I don't like to trust a solution that just happens by "chance".


apache, php, wordpress

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB is not configured correctly after installing Kubuntu 9a3eedi Linux - Software 13 10-09-2006 09:55 AM
i installed fc4 wnad my apache should have been configured to handle php file but it' amolgupta Linux - Software 2 04-02-2006 12:22 PM
pre configured linux install with apache, sql, and php? mydssbin Linux - Newbie 1 01-20-2006 08:02 PM
Apache-ssl not correctly parsing php files jme Linux - Software 2 05-03-2005 01:04 PM
/dev/lp0 not configured correctly? walterbyrd Debian 1 05-17-2004 04:02 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration