Log in

View Full Version : php dumb needs a help ...



cokoli
08-22-2009, 06:35 AM
okay ... please do spare me your big laugh - i'm dumb, i admit ...
i have uploaded quite simple script on my server,
and when i click on install.php from my browser, page is only downloading instead of running the install ...
why?
what i have screwed up here?
well, to have you laugh on me even more, this is happening with almost ANY .php page i have uploaded and tried to call from a browser (not only for the install.php but for some index.php as well)
it is something i do wrong when trying to edit these pages?
it drives me nuts ... i will never work out what am i supposed to do or not to...
help please!
thank u!!!

xmzx
08-22-2009, 09:09 AM
I had this problem too when I first bought a server and had no idea what was going on. Turns out php wasn't installed. So, I installed php, and the problem continued to occur. And then I restarted the apache server. And lone behold it worked. So my advice is to install php if you haven't, and restart the web server.

JShor
08-22-2009, 02:38 PM
You said almost every page? so there are some pages which don't do this?

There can be many reasons that this is happening. It could be that it's formatted as a download attachment for example. Most likely what's happening is, as xmzx said, php is not installed on your server.