SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

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 Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old February 11th, 2006, 07:58 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
php apache problem

Hey I installed php and apache, and for some reason, when I go to a php file in a url such as cheese.com/index.php it tries to download index.php.... can someone help?

Reply With Quote
  #2  
Old February 11th, 2006, 02:28 PM
Web slinger Web slinger is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Miami, Florida. Dade
Posts: 4 Web slinger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Web slinger
RE: php apache problem

Hello,

I had a similar problem when trying to put together my PHP/apache instillation. Although you didn't advice us to which operating system, Apache and php version, I think that it is a safe bet to say that the problem can be simple oversight. Check your loadmodule instru in the http conf file for any spelling errors. If problem persist, provide your apache and php version plus what operating system you are running. Then we can better troubleshoot the issue.

Your friendly Neighborhood Web Slinger,
B

Reply With Quote
  #3  
Old February 11th, 2006, 07:00 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: php apache problem

I'm running Free BSD, Apache 2.0, and PHP 4. I have a feeling it is something like it isn't loading the module right or something.... What are the key things you need in the httpd.conf file (as far as making sure php works?

PS the webserver is working completely fine; it's only php that isn't working. I had it installed before and working right and everything and I had to replace my httpd.conf with a backup, so I think I lost a couple important parts in it for php maybe...

Reply With Quote
  #4  
Old February 11th, 2006, 08:56 PM
Web slinger Web slinger is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Miami, Florida. Dade
Posts: 4 Web slinger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Web slinger
RE: php apache problem

I beleive that the way you could fix the problem is if you go to the http.config file, open it in your favorite editor and look for the area that say Loadmodule... Here you should find a bunch of load module directives. Inorder to fix your problem include the following.

LoadModule php4_module "C:/php/php4apache2.dll"

Amend the second part to reflect where you saved you php4apache2.dll. for Php4 I belive that it would be in your C:windowssystem32
hopefully this would remedy your problem.

Good luck,
Your friendly neigbhor hood web slinger

Reply With Quote
  #5  
Old February 27th, 2006, 01:39 AM
cplmckenzie cplmckenzie is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 13 cplmckenzie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: php apache problem

Having the same situation. I just did all of the above.
Did you ever get php and apache to coexist and run.

I am running apache 2.05 and php 4.4.2 under windows 2000.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > php apache problem


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 5 hosted by Hostway