Yes, PHP scripts do not have to reside in a particular directory.
Yes. This is the ONLY location where cgi scripts will execute. Do not forget to CHMOD them to 755.
CGI scripts must first be set to executable for you to run them. You need to change the permissions (chmod) of your scripts with your FTP client and make them 755 or rwxr-xr-x. Please note that for security reasons our servers do not allow permission ...
You should always upload your Perl scripts in ASCII mode. If you upload your scripts in binary mode, the scripts will not work and you will get an "Internal Server Error: Premature End of Script Headers" error (500 Internal Server Error).
PHP files do not require a specific permissions (CHMOD) value.