linux - Can not disable open_basedir restriction in php -
i'm trying disable open_basedir
on server. added:
open_basedir = none
in php.ini
php_admin_value open_basedir none
in httpd.conf
<directory /var/www/mysite.com/web> options followsymlinks allowoverride order allow,deny allow php_admin_value open_basedir none
in /etc/apache2/sites-available/mysite.com.vhost problem persist:
warning: curl_setopt_array(): curlopt_followlocation cannot activated when safe_mode enabled or open_basedir set in (...)
ps. safe_mode off. ideas?
just comment out open_basedir in php.ini. defaults wide open if directive not found.
Comments
Post a Comment