CyberHosting

open_basedir Error

Host: Digital Ocean
Server Type: VPS
OS: CentOS 7.6
CyberPanel Version: 1.8.6
LSWS or OLS?: LSWS

Whenever I enable open_basedir I get the following error output to my error log:
2019-07-15 13:47:35.083385 [NOTICE] [STDERR] PHP Warning: file_exists(): open_basedir restriction in effect. File(LiteSpeed_Cache_Log.php) is not within the allowed path(s): (/usr/local/lsws/FileManager:/tmp:/home/mydomain.com/public_html:/home/mydomain.com/phpdocs) in /home/mydomain.com/public_html/wp-content/plugins/defender-security/vendor/hammer/vendor/maxmind-db/reader/autoload.php on line 36

Comments

  • It could be OpenLiteSpeed bug. However if you enable open_basedir, you can not access files beyond the document root (as specified in the path in configuration when you click vhost Conf)

    Can you check what is the path in vhost conf. But most probably this error not directly related to CyberPanel. This is server/php level restriction. CyberPanel only enable that for you unless you change its path manually.
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion