• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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