does directadmin control panel run on its own web server and php settings?

lkbryant

Verified User
Joined
Aug 16, 2005
Messages
283
hi im having a problem after i modified my php.ini and enabled open_basedir, now in the control panel i am getting messages saying openbase dir restriction in effect instead of the webmail menus.

I have reset back to old php.ini but it seems it not taking effect.

So I have to wonder, does directadmin cache it's php.ini setting when it runs itself with its own httpd?
 
So which php setting does DA use?

The reason I ask is because I have 2 php.ini, one for Apache and one for LiteSpeed.

I don't use Apache anymore but, is DA still using it?
 
does DA cache the data on the control panel?
no matter what i do on the php.ini's, i still keep getting open base dir restriction in effect on the webmail section.

i tried commenting out the open_basedir = .... line out and tried open_basedir = Off and still same thing.

Any ideas?
 
No, DirectAdmin is not using Apache. It's calling PHP from /usr/local/bin/php with it's settings.
 
and do you know if /usr/lobal/bin/php calls it's php.ini from /usr/local/lib/php.ini ?

thats the file i tried changing but shows no effect and keep giving me same error
 
I keep getting this 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


This is on the main user level page of the control panel where it supposed to show the webmail links right underneath Email Management spam filter menu
 
Code:
/usr/local/bin/php --info | grep "Loaded Configuration File"
 
Back
Top