Fixed :Error ‘magic_quotes_runtime + gpc’ in PHP

Last updated on October 30th, 2020 at 04:26 pm.

Fixed :Error ‘magic_quotes_runtime’ is no longer available in PHP in Uknown line 0

The error:

Fatal Error: Directive ‘magic_quotes_runtime’ is no longer available in PHP in Unknown line 0

Or any way that the error is displayed to you.

The fix:

Open your php.ini file. Php.ini will be found in the PHP folder path within xampp or wamp.In Xampp the php.ini is located in the root of the Xampp folder in the’ PHP’ directory (C:xampp/php). In Wamp it is located in the bin directory (C:wamp/bin/php) Either way find the php.ini file and edit the following lines as indicated.

magic_quotes_gpc = On

magic_quotes_runtime = On

magic_quotes_sybase = On

edit the 3 lines to reflect as follows

magic_quotes_gpc = Off

magic_quotes_runtime = Off

magic_quotes_sybase = Off

If any of them is already Off then no need to alter it.

Happy editing.


Discover more from Bizanosa

Subscribe to get the latest posts sent to your email.

Comment Here

Join this free course:

How to host multiple WordPress
websites on a VPS

Close me!