diff --git a/plugins/php/index.py b/plugins/php/index.py index a72f60a6b..40d0cc700 100755 --- a/plugins/php/index.py +++ b/plugins/php/index.py @@ -177,6 +177,8 @@ def initReplace(version): session_path = '/tmp/session' if not os.path.exists(session_path): os.mkdir(session_path) + if not public.isAppleSystem(): + public.execShell('chmod -R www:www' + session_path) return file_bin