Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 2nd, 2001, 01:42 PM
mstembri mstembri is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Norcross, GA
Posts: 458 mstembri User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Unhappy

All php modules and lib files are in the proper location (/usr/lib/apache/) and referred to in the conf file.

php4, apache 1.3.9

I will post snippets of the httpd.conf file if needed.

Anything else known to cause this to happen?

__________________
- Mike Stembridge
http://www.georgiaoffroad.com

Reply With Quote
  #2  
Old March 2nd, 2001, 02:49 PM
mstembri mstembri is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Norcross, GA
Posts: 458 mstembri User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
From the httpd.conf file:
Code:

LoadModule php4_module        modules/libphp4.so

AddModule mod_php4.c

<IfModule mod_php4.c>
  AddType application/x-httpd-php4 .php
  AddType application/x-httpd-php4 .php3
  AddType application/x-httpd-php4 .phtml
  AddType application/x-httpd-php4-source .phps
</IfModule>



I discovered that .php files are being parsed properly; in other words info.php displays the php info() screen just fine.


Reply With Quote
  #3  
Old March 3rd, 2001, 09:08 AM
mstembri mstembri is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Norcross, GA
Posts: 458 mstembri User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Thumbs up

Problem was solved by commenting out the entire IfModule section and using a single line like:

AddType application/x-httpd-php4 .php .phtml .php3


Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Why are my php files prompting to download?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway