About Us  |  Blog  |  Hosting Partners  |  Legal  |  Portal Login

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> PHP pages not loading??
catwalkx
post Nov 30 2003, 11:55 AM
Post #1


Fellow
**

Group: Members
Posts: 112
Joined: 11-September 03
Member No.: 10,129



Anybody know what would cause PHP pages to not load, and instead when pointing a browser to a php page, the browser would issue a prompt asking the user if they would like to download the page.

What could possibly be in my httpd.config that would cause that??
Go to the top of the page
 
+Quote Post
catwalkx
post Nov 30 2003, 01:19 PM
Post #2


Fellow
**

Group: Members
Posts: 112
Joined: 11-September 03
Member No.: 10,129



Come to think of it, it is only affecting one account, which happens to have an .htaccess file that redirects to a php file. Seems to me php suexec would turn this funtion off, would it not? So now the question is, how do I yurn php suexec off?
Go to the top of the page
 
+Quote Post
catwalkx
post Nov 30 2003, 03:32 PM
Post #3


Fellow
**

Group: Members
Posts: 112
Joined: 11-September 03
Member No.: 10,129



For the benefit of other noobies reading this, the problem was, indeed, suexec. The odd thing is, I never turned it on, since many posts have advised leaving it off.

And, when i went to turn it off, whm said it wasn't available, and that I would have to rebuild apache. I did so, and the turned suexec off, and .htaccess files began to work.

What a painful way of of spending a sunday :-(
Go to the top of the page
 
+Quote Post
catwalkx
post Dec 2 2003, 03:29 AM
Post #4


Fellow
**

Group: Members
Posts: 112
Joined: 11-September 03
Member No.: 10,129



I'm haunted.

This problem will not go away. I have a user who, when he points his browser to his sites (hosted on my Xeon box) experiences the following: html loads, but all the php pages do not. Instead he gets a prompt asking if he wants to download the file.

This is maddening, and only happens with him. Has anybody else experienced this crazy situation?
Go to the top of the page
 
+Quote Post
catwalkx
post Dec 2 2003, 09:27 AM
Post #5


Fellow
**

Group: Members
Posts: 112
Joined: 11-September 03
Member No.: 10,129



Update!!!

After a few sleepless nights, going over httpd.conf to the point I can now recite every line from memory, it turns out the problem was with a proxy server at the clients ISP.

What made this hard to trouble shoot is the fact that his site was the only one on the box, because I had recently leased it for my cluster. Ergo, i could not use other sites as a point of reference.

So if you're ever confronted with a client saying his php files do not load, and instead is being prompted to download them, and you *know* everything is kosher with httpd.conf, there is another variable you can investigate: the clients own isp.

Sleep... sleeeep... for the first time in three days.... ahhh...
Go to the top of the page
 
+Quote Post
serverdummy
post Dec 3 2003, 12:20 AM
Post #6


Enlightened
*

Group: Members
Posts: 87
Joined: 4-May 03
Member No.: 7,443



Congrats. The customers will always blame the host. That's rule #1.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st November 2009 - 09:45 PM
 

Dedicated Servers

Managed Hosting

Colocation

Business Solutions

Why The Planet?

Contact Us