Fixed :Error ‘magic_quotes_runtime + gpc’ in PHP

Laravel artisan commands

Last updated on August 30th, 2016 at 01:42 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.

 

 

The following two tabs change content below.
Just a geek who loves Trance . Be yourself everywhere you go. And Be yourself in everything you do. Cheers !

Latest posts by Ricky Wahowa (see all)

Comment Here