How to Disable magic quotes Joomla – Linux Server –

We can disable magic quotes in joomla by editing the php.ini file.

Your default php.ini file exists for each cPanel account in public_html folder. To edit the magic_quotes settings, you will first need to open your cPanel, navigate to the public_html folder using the File Manager, and then edit the php.ini file.

You can disable magic quotes in joomla by adding the following line to the php.ini file.

magic_quotes_gpc = Off

If it does not solve the issue  you need to add the following lines to the php.ini .

magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
extension=pdo.so
extension=pdo_mysql.so

Save the file. This will disable the magic_quotes for that domain.