Reputation: 1069
I'm trying to disable open_basedir
on my server.
I 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 All
Order allow,deny
Allow from all
php_admin_value open_basedir none
in /etc/apache2/sites-available/mysite.com.vhost but my problem persist:
Warning: curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in (...)
Ps. safe_mode is OFF. Any ideas?
Upvotes: 3
Views: 24643
Reputation: 2156
just comment out open_basedir in php.ini. It defaults to wide open if the directive is not found.
Upvotes: 3