#1 (permalink)  
Old 08-06-2004, 12:59 PM
Registered User
 
Join Date: Aug 2001
Posts: 27
ccreighton
Index.php wants to download instead of...

index.php wants to download instead of showing as a webpage.

Any ideas?
__________________
Chris Creighton

"Do, or do not. There is no 'try'." - Yoda
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-22-2004, 03:06 PM
Registered User
 
Join Date: Nov 2003
Posts: 1
fullroast
ccreighton - I had the same problem. thaphantom's suggestion fixed it for me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-22-2004, 04:26 PM
Registered User
 
Join Date: May 2004
Posts: 26
Mike Peel
I'm currently having a similar problem. PHP files download rather than load normally, and at the domain name I just get the message "There is no website configured at this address." Have recompiled Apache through whm several times, getting an error message saying that php can't find "//bin" (apparently a config error, although I don't know where the config would be...). I then updated cpanel, and again compiled apache through it with the same results. Using easyapache as described above has no effect. Any ideas, anyone...?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-22-2004, 04:48 PM
Registered User
 
Join Date: Feb 2004
Posts: 14
GufyMike
GOt one MIME types check and make sure the .php extension is set right

http://httpd.apache.org/docs/mod/mod_mime.html <-- Aapche docs


Under the <module mod_mime.c>

Make sure these are in your httpd.conf file
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .phtml
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-22-2004, 05:36 PM
Registered User
 
Join Date: May 2004
Posts: 26
Mike Peel
The nice support people at my host managed to solve my problem - basically the line "NameVirtualHost sharedip" was missing from my httpd... No ideas why cpanel decided to drop that line from the config file... Wierd.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-17-2005, 03:05 PM
Registered User
 
Join Date: Oct 2004
Posts: 106
PanelGuy is on a distinguished road
Question index.php tries to download

Quote:
Originally Posted by fullroast
ccreighton - I had the same problem. thaphantom's suggestion fixed it for me.
What was The Phantom's Suggestion?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-17-2005, 03:20 PM
aby's Avatar
aby aby is offline
Registered User
 
Join Date: May 2005
Location: India
Posts: 638
aby is on a distinguished road
Lightbulb

Are you sure that the apache is started with the php module enabled in the httpd.conf?
__________________
Aby

MSN "abyvarghese007"
Yahoo " abyattaikkulathu"

http://slashome.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-17-2005, 04:27 PM
Registered User
 
Join Date: Oct 2004
Posts: 106
PanelGuy is on a distinguished road
Wink

I'm positive it wasn't. PHP is setup as a CGI on the server in question.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:11 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc