Jump to content
MakeWebGames

magic_quotes_gpc error php 5.3 and above


Uridium

Recommended Posts

if you see constant error messages like

Error: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater

Error in "Unknown"

Line 0

and you don't have access to a php.ini file then just create your own php.ini and insert the following and upload to root folder

 

magic_quotes_gpc = Off

magic_quotes_runtime = Off

magic_quotes_sybase = Off

extension=pdo.so

extension=pdo_mysql.so

Link to comment
Share on other sites

Or just use no code at all :) are we all finished with this topic now :)

Everyone was providing alternative solutions to the problem?

Also creating a php.ini in your root folder won't always work on every host. This is a feature only supported by certain control panels.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...