Hi I was messing around with the php.ini file and set the open_basedir = 'directories i want to open'
and then i later realized on the DirectAdmin control panel, the place where it supposed to show the webmail menus such as Roundcube, Squirrelmail, are now giving me error Warning: file_exists(): open_basedir restriction in effect. File(/var/www/html/squirrelmail) is not within the allowed path(s): (.:/tmp:/usr/local/lib/php/:/usr/local/lsws/lsphp5/etc/) in /usr/local/directadmin/- on line 4 Warning: file_exists(): open_basedir restriction in effect. File(/var/www/html/webmail) is not within the allowed path(s): (.:/tmp:/usr/local/lib/php/:/usr/local/lsws/lsphp5/etc/) in /usr/local/directadmin/- on line 4 Warning: file_exists(): open_basedir restriction in effect. File(/var/www/html/roundcube) is not within the allowed path(s): (.:/tmp:/usr/local/lib/php/:/usr/local/lsws/lsphp5/etc/) in /usr/local/directadmin/- on line 4 MX Records
The problem is I am making changes to revert back to original state but changes aren't taking effect. It's as if the settings are cached or something.
So I tried restarting directadmin and litespeed but that didn't do the trick either.
So what am I missing here?
Which web server and php binary does directadmin use by default?
Is DA on a standalone web server?
Does DirectAdmin run off on httpd? which php.ini does DA use, and which php.ini does it use ie. /usr/local/lib/php.ini ?
Thanks
and then i later realized on the DirectAdmin control panel, the place where it supposed to show the webmail menus such as Roundcube, Squirrelmail, are now giving me error Warning: file_exists(): open_basedir restriction in effect. File(/var/www/html/squirrelmail) is not within the allowed path(s): (.:/tmp:/usr/local/lib/php/:/usr/local/lsws/lsphp5/etc/) in /usr/local/directadmin/- on line 4 Warning: file_exists(): open_basedir restriction in effect. File(/var/www/html/webmail) is not within the allowed path(s): (.:/tmp:/usr/local/lib/php/:/usr/local/lsws/lsphp5/etc/) in /usr/local/directadmin/- on line 4 Warning: file_exists(): open_basedir restriction in effect. File(/var/www/html/roundcube) is not within the allowed path(s): (.:/tmp:/usr/local/lib/php/:/usr/local/lsws/lsphp5/etc/) in /usr/local/directadmin/- on line 4 MX Records
The problem is I am making changes to revert back to original state but changes aren't taking effect. It's as if the settings are cached or something.
So I tried restarting directadmin and litespeed but that didn't do the trick either.
So what am I missing here?
Which web server and php binary does directadmin use by default?
Is DA on a standalone web server?
Does DirectAdmin run off on httpd? which php.ini does DA use, and which php.ini does it use ie. /usr/local/lib/php.ini ?
Thanks
Last edited: