PHP mkdir 0777 chmod 0777 çalışmalarını başarısız

0 Cevap php

PHP 5.2.14 kullanarak, bu ne olur

[user@VE213 public_html]$ php -r "mkdir('directory', 0777);"
[user@VE213 public_html]$ ls -lt
drwxrwxr-x  2 rankranger rankranger 4096 Dec  8 17:28 directory

[user@VE213 public_html]$ php -r "chmod('directory', 0777);"
[user@VE213 public_html]$ ls -lt
drwxrwxrwx  2 rankranger rankranger 4096 Dec  8 17:28 directory

Php hata listesinde, herhangi bir fikir ilgili herhangi bir hata bulamadık?

0 Cevap