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.

    Before
    ; magic_quotes_gpc On
    ; magic_quotes_runtime Off

    After
    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.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

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

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

Need more Help?

Search

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: support@InMotionHosting.com
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!