Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 26th, 2004, 04:14 PM
heseeds heseeds is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 1 heseeds User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry PHP not working with Apache

PHP 4.3.4.4

Latest Apache Software

Windows XP



The problem is when I view a .php file in IE it makes me download the file. When I try to view the same file in Mozila it will display the file BUT ONLY IN CODE. I've have tried all different ways of trying to get it to work by using tips and help guides on this website but still nothing is working. Any help would be useful.




Reply With Quote
  #2  
Old December 27th, 2004, 03:59 PM
JHorton JHorton is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 7 JHorton User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i was having the same problem...my issue was that i didnt have the load moduel set right...once i figured that out php worked...maybe that will help...here is the site i used to set it up http://www.ricocheting.com/server/

Reply With Quote
  #3  
Old December 28th, 2004, 11:49 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,886 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 19 m 35 sec
Reputation Power: 14
You likely missed this line in your httpd.conf: AddType application/x-httpd-php .php

Reply With Quote
  #4  
Old February 7th, 2005, 08:49 PM
Cert3student Cert3student is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 2 Cert3student User rank is Private First Class (20 - 50 Reputation Level)Cert3student User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 36 m 21 sec
Reputation Power: 0
Unhappy

I had a look at your suggested web site JHorten but it is using the latest versions of both apache and php so it is different to the versions I am using
Comments on this post
thaminda agrees: Yeah this will help

Reply With Quote
  #5  
Old February 7th, 2005, 08:51 PM
Cert3student Cert3student is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 2 Cert3student User rank is Private First Class (20 - 50 Reputation Level)Cert3student User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 36 m 21 sec
Reputation Power: 0
Question

I too have the problem of apache telling me to download the php file, I did as you said MadCowDzz and it has made no difference have you got any other suggestions

Reply With Quote
  #6  
Old February 23rd, 2005, 07:07 PM
nuke1802 nuke1802 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 2 nuke1802 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 32 sec
Reputation Power: 0
Unhappy Also having the same progblem

When I open a php doc I also just get code has anyone found a solution to this problem?

Reply With Quote
  #7  
Old February 24th, 2005, 01:02 AM
nuke1802 nuke1802 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 2 nuke1802 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 32 sec
Reputation Power: 0
Talking Its working its working

Got it up and running!

Reply With Quote
  #8  
Old February 24th, 2005, 03:51 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,886 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 19 m 35 sec
Reputation Power: 14
What was the problem/solution?

Reply With Quote
  #9  
Old March 20th, 2007, 08:41 PM
evanrevans evanrevans is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 1 evanrevans User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 28 sec
Reputation Power: 0
"You likely missed this line in your httpd.conf: AddType application/x-httpd-php .php"

I misspelled it. Cost me 2 hours. Triple-check your spelling if when navigating to a php document your browser prompts you do download the file.

Reply With Quote
  #10  
Old December 27th, 2012, 08:56 PM
Elvin22a Elvin22a is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 5 Elvin22a User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 2 sec
Reputation Power: 0
I did as you said MadCowDzz and it has made no difference have you got any other suggestions


Reply With Quote
  #11  
Old January 22nd, 2013, 08:40 PM
McGl0othin McGl0othin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 4 McGl0othin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 45 sec
Reputation Power: 0
Triple-check your spelling if when navigating to a php document your browser prompts you do download the file.
URLURLURL

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > PHP not working with Apache


Developer Shed Advertisers and Affiliates


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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap