open_basedir restriction in effect
Posted: Tue Aug 09, 2016 4:41 pm
Good afternoon, I am Brazilian.
I have a problem on my server (Ubuntu 15.10 x64) in PHP upload. Erro(I hid the domain for security reasons)r:
Message: copy(): open_basedir restriction in effect. File() is not within the allowed path(s): (/home/admin/web/**********/public_html:/home/admin/tmp)
Check that in the /home/admin/conf/web/apache2.conf php_admin_value is as follows:
<Directory /home/admin/web/cloudone.eti.br/public_html>
AllowOverride All
Options +Includes -Indexes +ExecCGI
php_admin_value open_basedir /home/admin/web/**********/public_html:/home/admin/tmp
php_admin_value upload_tmp_dir /home/admin/tmp
php_admin_value session.save_path /home/admin/tmp
</Directory>
How to solve ?
I have a problem on my server (Ubuntu 15.10 x64) in PHP upload. Erro(I hid the domain for security reasons)r:
Message: copy(): open_basedir restriction in effect. File() is not within the allowed path(s): (/home/admin/web/**********/public_html:/home/admin/tmp)
Check that in the /home/admin/conf/web/apache2.conf php_admin_value is as follows:
<Directory /home/admin/web/cloudone.eti.br/public_html>
AllowOverride All
Options +Includes -Indexes +ExecCGI
php_admin_value open_basedir /home/admin/web/**********/public_html:/home/admin/tmp
php_admin_value upload_tmp_dir /home/admin/tmp
php_admin_value session.save_path /home/admin/tmp
</Directory>
How to solve ?