InMotion Hosting Support Center

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

  1. Log into your cPanel.
  2. 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.
  3. 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.

    ; magic_quotes_gpc On
    ; magic_quotes_runtime Off

    magic_quotes_gpc Off
    magic_quotes_runtime Off
  4. 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.
Was this article helpful?
Continued Education in Course 101: Getting Started with Drupal 8
You are viewing Section 5: Fixing the magic_quotes error when installing Drupal 8
Section 4: How to change your admin password in Drupal 8
Section 6: Resetting your Drupal 8 password

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved. Please click the button below to be redirected to the login page.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!