<?PHP
print "hello";
?>
Ben bu kodu yazmak ve "1.PHP" olarak kaydedin;
Then I upload this PHP script to my server.
Ben 8 diffrent ücretsiz barındırma sunucusunun hesapları var.
And I noticed that there are 2 types of server settings.
(1)
"type A"
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
(2)
On the other hand ,there are other type
servers on this world.
"Type B",
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
opinions.
gibi hangi sunucu kullanmam gerekir, ya da vs, vs