DF - Eror pada PLESK pengganti control panel hosting. Berikut permaslahan dan penyelesaiannya
1. Message: mkdir(): open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s): (/home/dfworkplace.my.id/:/tmp/)
Cara memperbaikinya, pada file config.php rubah ini
$config['sess_save_path'] = NULL;
Menjadi
$config['sess_save_path'] = '/tmp';
2. Codeigniter open_basedir_restriction in effect
Cara penyelesaiannya
1.Login to Plesk Control Panel
2.Go to Subscriptions
3.Click on the domain name you want to change the setting for.
4. Click on PHP Settings
Jika menggunakan control pannel dengan cara
PHP Setting dan rubah Scroll down to open_basedir and select none from the drop down
Error The Encrypt library requires the Mcrypt extension.
$this->load->library('encrypt');
to
$this->load->library('encryption');
Error
Message: is_dir(): open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s):
//$config['sess_save_path'] = NULL;
$config['sess_save_path'] = '/tmp';
0 comments:
Post a Comment