|
Subject:
|
php downloads instead of running
|
|
Posted By:
|
ss2003
|
Post Date:
|
2/15/2004 3:28:18 PM
|
The php was working okay for a few weeks on my windows xp home laptop but now its not.
The local info script works fine
<? phpinfo(); ?>
but if I make my own script and save it as a .php it tries to download instead of execute.
I uninstalled and re-installed php and the web server, and in fact changed from abyss web server to apache, still my scripts no longer run. They used to work okay a week ago.
What can I do?
|
|
Reply By:
|
codeman
|
Reply Date:
|
2/16/2004 10:08:36 AM
|
if you edit the file you put the <?phpinfo();?> in to an echo "test"; statement or anything else, does it work? If it does then you are having file permission problems...
why are you using apache with windoze? you might as well use iis
|
|
Reply By:
|
nikolai
|
Reply Date:
|
2/16/2004 2:25:12 PM
|
What's the filename of your local info script?
Is it .php, or something else (e.g. '.php4'?)
Take care,
Nik http://www.bigaction.org/
|