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

Notices

Reply
 
Search this Thread
Old 09-24-2007, 10:27 AM   #1
Clean3d
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/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!
 
Old 09-24-2007, 11:06 AM   #2
Clean3d
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".
 
  


Reply

Tags
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 08: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 11:22 AM
pre configured linux install with apache, sql, and php? mydssbin Linux - Newbie 1 01-20-2006 07:02 PM
Apache-ssl not correctly parsing php files jme Linux - Software 2 05-03-2005 12:04 PM
/dev/lp0 not configured correctly? walterbyrd Debian 1 05-17-2004 03:02 PM


All times are GMT -5. The time now is 07:12 PM.

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