Home page showing php code only after Apache 2.2 and MySQL 5 upgrade
Posted: 03 July 2008 03:25 PM   [ Ignore ]  
Summer Student
Total Posts:  2
Joined  08-19-2007

Site: http://aspenchapel.org/

My host upgraded to Apache 2.2 and MySQL 5 and now the home page shows only the php code.  (Home page is index - no file extension)

Current .htaccess file contains this:

<Files index>
AcceptPathInfo on
SetOutputFilter PHP
SetInputFilter PHP
</Files>
AddHandler application/x-httpd-php4 index
DirectoryIndex index index
.php index.shtml index.html index.htm

Please help! smile

Profile
 
 
Posted: 03 July 2008 03:28 PM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  2
Joined  08-19-2007

<Files index>
ForceType application/x-httpd-php4
</Files>

Works!

Profile
 
 
Posted: 03 July 2008 03:30 PM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12381
Joined  04-29-2002

Welcome to the forums, jetfiredesign.

So all is OK now?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64915 Total Logged-in Users: 18
Total Topics: 81870 Total Anonymous Users: 22
Total Replies: 440145 Total Guests: 172
Total Posts: 522015    
Members ( View Memberlist )
Newest Members:  Suman KumarsmilepolitelyrvmcleodbjmohrAqua193Bios Elementmjpoteetguimogranwelshmrcf