Hi,
If you want to completely disable the default PHP sandbox feature introduced in SME 5.1.2, here's how to do it:
1. Type in the following commands:
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/95Add* .
pico 95AddType00PHP2ibays
2. Look for the 'sandbox' section of the file and add hashes to the following lines:
# my $basedir = db_get_prop(\%accounts, $key, 'PHPBaseDir') ||
# "/home/e-smith/files/ibays/$key";
# $OUT .=
# " php_admin_value open_basedir $basedir\n";
3. Type in the following commands:
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
service httpd restart
Enjoy.
Regards,
Luke