Fixing the magic_quotes error when installing Drupal 8 Updated on August 16, 2021 by Scott Mitchell 1 Minutes, 21 Seconds to Read When manually installing Drupal 8, you may run across a common error after uploading the files. This error is in regrds to the magic_quotes settings of your server. If they are incorrect you will see an error message like this: PHP’s ‘magic_quotes_gpc’ and ‘magic_quotes_runtime’ settings are not supported and must be disabled. What does this error mean? Don’t be alarmed. The error simply means that there are a couple of settings named magic_quotes_gpc and magic_quotes_runtime that need to be set to Off in order for the Drupal 8 Install program to run. These settings are located in your php.ini file and are easily disabled by following the instructions below. How to turn off the magic_quotes settings in php.ini Log into your cPanel. Once in the main cPanel area, look for the Files category and click on the File Manager. Once inside, locate the php.ini file. This is generally located in the public_html folder. Using the File Manager Code Editor, open the file and look for the settings for magic_quotes_gpc and magic_quotes_runtime. Ensure they are set to Off. Additionally, ensure there is no semicolon (;) at the beginning of the line of code for the settings. Before ; magic_quotes_gpc On ; magic_quotes_runtime Off After magic_quotes_gpc Off magic_quotes_runtime Off After adjusting the settings appropriately, click on the Save Changes button in the upper right corner to save the new settings. You should now be able to continue with installing Drupal 8 without issue by re-visiting your website. The error should now have disappeared. Share this Article Related Articles Finding 404 page not found errors in Drupal 7 Removing the site title in Drupal 8 Content Types in Drupal 8 Disabling user images for posts and comments in Drupal 8 How to add an image in Drupal 7 How to upload your custom logo in your Drupal 7 theme Setting custom logos in your Drupal 8 theme Fixing the “An unrecoverable error occurred” error in Drupal How to Make a Duplicate Drupal Site How to Install a New Theme in Drupal