{"id":2951,"date":"2017-01-02T04:48:23","date_gmt":"2017-01-02T04:48:23","guid":{"rendered":"https:\/\/www.milesweb.com\/hosting-faqs\/?p=2951"},"modified":"2023-01-27T19:21:12","modified_gmt":"2023-01-27T13:51:12","slug":"turn-magic-quotes-gpc-off","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/","title":{"rendered":"How to turn magic_quotes_gpc off"},"content":{"rendered":"<p>Many Open Source Software programs like Drupal, Prestashop, Joomla, Etc., require magic_quotes_gpc to be turned off. Below are some steps you need to follow for the same.<\/p>\n<ul>\n<li>Login into your cPanel.<\/li>\n<li>Go to the File Manager, select your public_html directory and click Go.<\/li>\n<li>Open your php.ini with the code editor.<\/li>\n<li>Code view of magicquotes Prestashop. Find the magic_quotes_gpc line like the code below and change it from On to Off. (See image to the right)<\/li>\n<\/ul>\n<p>;Magic quotes;<\/p>\n<p>; Magic quotes for incoming GET\/POST\/Cookie data.<\/p>\n<p>magic_quotes_gpc = On<\/p>\n<p>Your php.ini should have the following code.<\/p>\n<p>;Magic quotes<\/p>\n<p>;<\/p>\n<p>; Magic quotes for incoming GET\/POST\/Cookie data.<\/p>\n<p>magic_quotes_gpc = Off<\/p>\n<ul>\n<li>Save the changes.<\/li>\n<li>Make the php.ini recursive in the .htaccess.<\/li>\n<li>Parameters OK PrestashopVisit your phpinfo page by going to your domain and adding phpinfo.php at the end of the URL like the example below.<\/li>\n<li>http:\/\/example.com\/phpinfo.php<\/li>\n<\/ul>\n<p><strong>Related:&nbsp;<a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-enabledisable-magic-quotes-gpc\/\">How to Enable\/Disable Magic Quotes GPC?<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many Open Source Software programs like Drupal, Prestashop, Joomla, Etc., require magic_quotes_gpc to be turned off. Below are some steps you need to follow for the same. Login into your cPanel. Go to the File Manager, select your public_html directory and click Go. Open your php.ini with the code editor. Code view of magicquotes Prestashop. [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2951","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-domain-name-dns-issues"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to turn magic_quotes_gpc off<\/title>\n<meta name=\"description\" content=\"Many Open Source Software programs like Drupal, Prestashop, Joomla, Etc., require magic_quotes_gpc to be turned off.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to turn magic_quotes_gpc off\" \/>\n<meta property=\"og:description\" content=\"Many Open Source Software programs like Drupal, Prestashop, Joomla, Etc., require magic_quotes_gpc to be turned off.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-02T04:48:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-27T13:51:12+00:00\" \/>\n<meta name=\"author\" content=\"Komal Nerkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Komal Nerkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/\"},\"author\":{\"name\":\"Komal Nerkar\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/3bc8d279fa14cc1b47989a57655ec4af\"},\"headline\":\"How to turn magic_quotes_gpc off\",\"datePublished\":\"2017-01-02T04:48:23+00:00\",\"dateModified\":\"2023-01-27T13:51:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/\"},\"wordCount\":174,\"commentCount\":0,\"articleSection\":[\"Domain Name &amp; DNS Issues\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/\",\"name\":\"How to turn magic_quotes_gpc off\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"datePublished\":\"2017-01-02T04:48:23+00:00\",\"dateModified\":\"2023-01-27T13:51:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/3bc8d279fa14cc1b47989a57655ec4af\"},\"description\":\"Many Open Source Software programs like Drupal, Prestashop, Joomla, Etc., require magic_quotes_gpc to be turned off.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to turn magic_quotes_gpc off\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/3bc8d279fa14cc1b47989a57655ec4af\",\"name\":\"Komal Nerkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fecb012a7d75401295b40f44970a054f6dbcd2f67f30e8f8870a57d6ad9371c9?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fecb012a7d75401295b40f44970a054f6dbcd2f67f30e8f8870a57d6ad9371c9?s=96&d=blank&r=g\",\"caption\":\"Komal Nerkar\"},\"sameAs\":[\"https:\/\/www.milesweb.com\/\"],\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/komal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to turn magic_quotes_gpc off","description":"Many Open Source Software programs like Drupal, Prestashop, Joomla, Etc., require magic_quotes_gpc to be turned off.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/","og_locale":"en_US","og_type":"article","og_title":"How to turn magic_quotes_gpc off","og_description":"Many Open Source Software programs like Drupal, Prestashop, Joomla, Etc., require magic_quotes_gpc to be turned off.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2017-01-02T04:48:23+00:00","article_modified_time":"2023-01-27T13:51:12+00:00","author":"Komal Nerkar","twitter_misc":{"Written by":"Komal Nerkar","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/"},"author":{"name":"Komal Nerkar","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/3bc8d279fa14cc1b47989a57655ec4af"},"headline":"How to turn magic_quotes_gpc off","datePublished":"2017-01-02T04:48:23+00:00","dateModified":"2023-01-27T13:51:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/"},"wordCount":174,"commentCount":0,"articleSection":["Domain Name &amp; DNS Issues"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/","name":"How to turn magic_quotes_gpc off","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2017-01-02T04:48:23+00:00","dateModified":"2023-01-27T13:51:12+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/3bc8d279fa14cc1b47989a57655ec4af"},"description":"Many Open Source Software programs like Drupal, Prestashop, Joomla, Etc., require magic_quotes_gpc to be turned off.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/turn-magic-quotes-gpc-off\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to turn magic_quotes_gpc off"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/3bc8d279fa14cc1b47989a57655ec4af","name":"Komal Nerkar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fecb012a7d75401295b40f44970a054f6dbcd2f67f30e8f8870a57d6ad9371c9?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fecb012a7d75401295b40f44970a054f6dbcd2f67f30e8f8870a57d6ad9371c9?s=96&d=blank&r=g","caption":"Komal Nerkar"},"sameAs":["https:\/\/www.milesweb.com\/"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/komal\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=2951"}],"version-history":[{"count":4,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2951\/revisions"}],"predecessor-version":[{"id":17415,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2951\/revisions\/17415"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=2951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=2951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=2951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}