Safe mode drwxr x--- php wso drwxr xr x

$permissions = 'drwxr-xr-x'; // or whatever $mode = 0; if ($permissions[1] == 'r') $ mode += 0400; if ($permissions[2] == 'w') $mode += 0200; if ($permissions[3] . Uname: User: Php: Hdd: Cwd: Linux uscentral33.myserverhosts.com 3.10.0- 427.36.1.lve1.4.45.el6h.x86_64 #1. 5.6.30 Safe mode: OFF [ phpinfo ] Datetime: 2017-05-25 13:59:05 dir, 2017-05-24 10:20:42, bateria2/bateria2, drwxr-xr-x, R T.