Web Hosting Talk







View Full Version : PHP Files Auto Downloading ????


Kenny3055
04-04-2006, 06:27 PM
Hello everyone i am having a problem on my site now this morning my host said they switched my apache settings on my server for something yesterday, Soon after that i noticed that when loading the page my shoutbox on my forums (which is an Iframe) does not display and my browser attempts to download the index.php file of my site (same with others) I am unsure wheather this is due to chmod settings or the apache changes they have claimed it was restored but still the index.php attempts to download when trying to connect to the iframe :bawling: Can anyone help i would deeply appreciate it

bluedreamer
04-04-2006, 09:07 PM
I've had the same thing recently with a few sites (using Firefox). If I refresh the page it sometime scomes up, sometimes not. Not sure why :)

IPv6
04-04-2006, 11:30 PM
your host needs to make php files parse instead of download.

Kenny3055
04-05-2006, 04:08 AM
thanks you so much shoutbox :) i will let them know because it seems they have no clue what they are doing do you know if i can set it up that way myself ???

cmuench
04-05-2006, 01:25 PM
I would go with a different host if they didn't know what the problem is. That is an extremely simple solution and they obviously don't know what they are doing. All your secure php code was up for grabs when they screwed up the apache config.

sabian1982
04-06-2006, 07:09 AM
Its almost as though php has been uninstalled from the server, or the install files cannot be found, interpreted and then viewed in the browser!

mitchlrm
04-06-2006, 08:30 AM
php files can't be interpreted by browsers because they run on the server.
But as harsh as cmuench's comment is about the web host, I would have to agree. They really don't know what they're doing and the sooner you're being hosted with someone who knows how to run a web server, the better.

IPv6
04-06-2006, 07:41 PM
I would go with a different host if they didn't know what the problem is. That is an extremely simple solution and they obviously don't know what they are doing. All your secure php code was up for grabs when they screwed up the apache config.

I'd suggest the same. They learn how to add the PHP module into conf yet?

Kenny3055
04-08-2006, 03:43 AM
Yeah thanks alot guys the problem was solved both my shoutbox and the download system was working the very next day i dont think they were aware it was working, I didn't mind too much because i just turned the shoutbox off to avoid my code being stolen. This is definitly a strike against them from me.

Neosurge
04-08-2006, 02:29 PM
As others have stated, this is entirely your host's fault. They have fouled up the apache configuration and neglected to correct their mistake.