{"id":2951,"date":"2017-01-02T04:48:23","date_gmt":"2017-01-02T04:48:23","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=2951"},"modified":"2023-01-28T11:08:06","modified_gmt":"2023-01-28T11:08:06","slug":"turn-magic-quotes-gpc-off","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/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","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 v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to turn magic_quotes_gpc off - Web Hosting FAQs by MilesWeb<\/title>\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.co.uk\/hosting-faqs\/turn-magic-quotes-gpc-off\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to turn magic_quotes_gpc off - Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"og:description\" content=\"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;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/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-28T11:08:06+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=\"Estimated 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\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/turn-magic-quotes-gpc-off\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/turn-magic-quotes-gpc-off\/\",\"name\":\"How to turn magic_quotes_gpc off - Web Hosting FAQs by MilesWeb\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2017-01-02T04:48:23+00:00\",\"dateModified\":\"2023-01-28T11:08:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/3bc8d279fa14cc1b47989a57655ec4af\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/turn-magic-quotes-gpc-off\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/turn-magic-quotes-gpc-off\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/turn-magic-quotes-gpc-off\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to turn magic_quotes_gpc off\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/3bc8d279fa14cc1b47989a57655ec4af\",\"name\":\"Komal Nerkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8ea16bbf66f542fea6077430a19461d1?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8ea16bbf66f542fea6077430a19461d1?s=96&d=blank&r=g\",\"caption\":\"Komal Nerkar\"},\"sameAs\":[\"https:\/\/www.milesweb.co.uk\/\"],\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/komal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to turn magic_quotes_gpc off - Web Hosting FAQs by MilesWeb","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.co.uk\/hosting-faqs\/turn-magic-quotes-gpc-off\/","og_locale":"en_GB","og_type":"article","og_title":"How to turn magic_quotes_gpc off - Web Hosting FAQs by MilesWeb","og_description":"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;]","og_url":"https:\/\/www.milesweb.co.uk\/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-28T11:08:06+00:00","author":"Komal Nerkar","twitter_misc":{"Written by":"Komal Nerkar","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/turn-magic-quotes-gpc-off\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/turn-magic-quotes-gpc-off\/","name":"How to turn magic_quotes_gpc off - Web Hosting FAQs by MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2017-01-02T04:48:23+00:00","dateModified":"2023-01-28T11:08:06+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/3bc8d279fa14cc1b47989a57655ec4af"},"breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/turn-magic-quotes-gpc-off\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/turn-magic-quotes-gpc-off\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/turn-magic-quotes-gpc-off\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to turn magic_quotes_gpc off"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/3bc8d279fa14cc1b47989a57655ec4af","name":"Komal Nerkar","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8ea16bbf66f542fea6077430a19461d1?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8ea16bbf66f542fea6077430a19461d1?s=96&d=blank&r=g","caption":"Komal Nerkar"},"sameAs":["https:\/\/www.milesweb.co.uk\/"],"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/komal\/"}]}},"views":1446,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=2951"}],"version-history":[{"count":2,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2951\/revisions"}],"predecessor-version":[{"id":2953,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/2951\/revisions\/2953"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=2951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=2951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=2951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}