• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

10.3.1 > can't change php.ini (magic_quotes_gpc off)

Scubapro

New Pleskian
phpinfo shows that magic_quotes_gpc are On. I want them off

So i changed php.ini in /var/www/vhosts/domain.tld/etc and added magic_quotes_gpc Off. Restarted Apache but no effect.

Then i looked in php.ini in /usr/local/psa/admin/conf/. Here magic_quotes_gpc is all ready Off

Then i looked in php.ini in /etc/. Here magic_quotes_gpc is also all ready Off

Where do i need to look for more php.ini files? And why is my change in /var/www/vhosts/domain.tld/etc not working?
 
Problem solved thanks to Hugo.

In htaccess you have to use: magic_quotes_gpc Off
In php.ini you have to use: magic_quotes_gpc = Off
 
Back
Top