|
Posted by Ron Barnett on 10/09/07 08:30
"kev" <kjsphoto@gmail.com> wrote in message
news:1191530670.975243.115990@n39g2000hsh.googlegroups.com...
> Ok, I am really stuck and I need help badly.
>
> If I create any file or folder on the server and run the php file it
> works with no problem. As soon as I copy a website from another
> server onto this one none of the php code works and the browser only
> shows the actual php code.
>
> Is there a permission I need to set? I have never had this problem
> before. The fil4es I am copying from a Win2000 server to the new 2003
> server and anything I copy from 2000 to 2003 the PHP code WILL NOT
> WORK!
>
> I do not know what the problem is and I searched the web to find
> NOTHING!
>
> I am ready to reformat the entire system and put on Windows 2000
> server Please HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
Hi Kev,
well it certainly sounds like a permissions problem,
the best way to tackle it is to take a look at the security setting of a
file that does work, and see what is missing on the one that doesn't work.
It will undoubtedly be related to the execute attribute which the 2003 file
will have set to something that scopes the webserver, while the 2000 file's
permissions do not include the webserver.
You didn't say which webserver you are using, IIS is in my opinion as user
friendly as a bag of razor blades unless your are running a Microsoft only
installation, but you cant be if you are running PHP !,
Id throw IIS away and run Apache if I had the option.
Cheers
Ron
Navigation:
[Reply to this message]
|