open_basedir error with DirectAdmin

#1
I'm experiencing the error below:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/admin/domains/domainname.com/public_html/clients/../../../../../../home/ioncube/ioncube_loader_lin_5.3.so) is not within the allowed path(s): (/home/admin/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/admin/domains/domainname.com/public_html/clients/index.php on line 34

This is WHMCS by the way. I do have cURL installed and Ioncube installed.

DirectAdmin has open_basedir on by default. When i was using Apache, i never ran into these issues.
 

mistwang

LiteSpeed Staff
#2
check phpinfo() page for the open_basedir configuration. adjust the configuration in apache httpd.conf or php.ini.

If you used apache with suphp, open_basedir never worked.
 
#5
The same one that the OP gets. It only happens when I compile php 5.30. If I compile any of the 5.2 versions of PHP, I don't get the error. Did something change in 5.3 that would affect this?
 
Top