Safe Mode On Auto Index

#1
Warning: opendir() [<function.opendir>]: SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /home/slayer/public_html/ owned by uid 32318 in /opt/lsws/share/autoindex/default.php on line 138 Warning: opendir(/home/slayer/public_html/) [<function.opendir>]: failed to open dir: Permission denied in /opt/lsws/share/autoindex/default.php on line 138 [ERROR] Can not open directory /home/slayer/public_html/!


get that during account creation, and want to keep safemode ON any idea's?
 
#5
I'm running 3.2.4 Ent.

If you can tell me how to properly set it.

or

is it possible to set it in here?

Apache Style configurations

If so, What's the proper way of putting that directory with safe_mode off.

Thanks,
Hostparlor
 

QuantumNet

Well-Known Member
#9
Hi ... dont use safe mode!!! It is being completely dropped from php 6 because it was a horable solution.

If you are not using suxec and want to maintain security without safemode then do this:

openbase_dir + php execdir patch + suhosin patch

also disable posix when compiling php.
 
Top