![]() |
To add the magic_quotes_gpc option to a single domain under Plesk, create the file (if it does not already exist)
/var/www/vhosts/domain.com/conf/vhost.conf
and add the following line:
php_admin_flag magic_quotes_gpc on.
Save the file and add this new config file into the httpd.include file for the domain with the following command:
/usr/local/psa/admin/bin/websrvmng --reconfigure-vhost --vhost-name=domain.com
Restart httpd.
After restart, if the domain is not behaving as expected, look in /var/www/vhosts/domain.com/conf/httpd.include and make sure that the vhost.conf file has been included/