<?PHP print "hello"; ?>
I write this code and save as "1.php";
Then I upload this PHP script to my server.
I have 8 diffrent free hosting server's accounts.
And I noticed that there are 2 types of server settings.
for exapmle, sqweebs.
We need to set the PHP file permission as 640.
This means that sqweebs server requires us
to give group permission for PHP script running.
If I set 604,then the server generate such a errors.like,
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error: Unknown: Failed opening required '/www/sqweebs.com/1.php' (include_path='.:/blahblah') in Unknown on line 0
On the other hand ,there are other type
servers on this world.
for example, izfree.
On this server, I found that
I can make PHP script work if I give it
604 as the permission.
So I want to know why there are many server settings,
and what is the reason, and some other related
like which server should I use ,or etc,etc.