Good stable vps hosting in Ukraine with php, mysql

What rights should be set for php scripts?

To process php code with interpreter, for files with php scripts should be set read only rights for all users - 644 (default server rights). If any right should be edited by another php script, you will have to set rights for edit - 666. If a script creates files in any folder, the folder also should have rights for server users to write - 777.