Safemode and phpvs

mjokiel

Verified User
Joined
Nov 18, 2009
Messages
31
Hello,

I am trying to run php version selector but i have error:

Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 107 is not allowed to access /home/admin/domains/ owned by uid 1002 in /usr/local/directadmin/plugins/phpvs/user/index.html on line 11 Warning: opendir(/home/admin/domains/): failed to open dir: Inappropriate ioctl for device in /usr/local/directadmin/plugins/phpvs/user/index.html on line 11 Warning: readdir(): supplied argument is not a valid Directory resource in /usr/local/directadmin/plugins/phpvs/user/index.html on line 14

Php is compiled with enable_safe_mode but in php.ini i have safe_mode=off but phpvs still not working.

How can i switch off safe mode?
 
from directadmin you can enable/disable safemode for each domain

It is not so simple, i had to recompile php without enable-safe-mode, otherwise i have a problem and safe mode is on and can not be turned off.
 
Back
Top