i thought i answered your question.
i would say the difficulty is in the clarity of your question.
what are requirements for both PC and server
a server can run on a pc.
that server can be based on windows, linux, mac, whatever.
so i'm assuming by "pc" you mean the client machine.
whether you are using the client for the purpose of browsing or as a development machine for your application, it is completely independent of the server and can also be running windows, linux, mac, whatever.
the only thing you basically need to develop a script is a text editor.
there are text editors available for any and all platforms.
if you require a specific development framework, browser, wysiwyg or whatever, these are typically available across most or all platforms.
the LAMP/WAMP components include apache, mysql and php or perl.
these all work on linux and/or windows platforms.
perhaps if your php or perl script have direct system calls then you will need to run those scripts on the server that supports those calls...
so help us understand what your question is that didn't get answered.