To remove the open_basedir directive from your php configuration to allow seamless CURL operation in your server (Plesk based) follow this steps. As the first step, Edit the /etc/php.ini file and set the directive to none. It made the master value for open_basedir to none. But even if, the local value is set and was causing enough trouble. 1. Create a new httpd.conf file in your domains conf folder: /var/www/vhosts/yourdomain.org/conf 2. Put the following lines there:
php_admin_value open_basedir "none" 3. Update Plesk configuration: # /usr/local/psa/admin/sbin/websrvmng -v -a 4. Restart apache: apachectl restart 5. Done !
Home open_basedir open_basedir directive php.ini plesk plesk server server security vps server How to Turn off local open_basedir directive in Plesk Server
Tuesday, July 9, 2013
How to Turn off local open_basedir directive in Plesk Server