Drupal ошибка php extensions

Error

Screenshot of error

You are trying to install Drupal 8, but during the installation at «Verify requirements» step, Drupal returns the following error message

PHP extensions
Disabled

Drupal requires you to enable the PHP extensions in the following list (see the system requirements page for more information):
gd

Cause

The cause of that error is «php5-gd» package is not installed on your server. That GD extension is required by Drupal 8.

Solution on Debian Jessie 8

  1. In Terminal as Root, run the following command on your server
    apt-get install php5-gd
  2. The «web server config» will automatically be reloaded. Try to install Drupal again. If still not working try to reboot your server.

Thanks to parvind87 for this fix :)

Аватар пользователя Д.А.
Д.А.


30 января 2021 в 16:37


PHP-РАСШИРЕНИЯ
Отключено
Drupal требует, чтобы вы включили расширения PHP

Здравствуйте. Пытаюсь загрузить (drupal 9.1.3) с ресурса XAMPP (bitnami) для создания сайта.
Обычный пользователь, т. е. может у кого-нибудь есть способности объяснить как устранить данную ошибку?

  • Drupal9
  • Есть вопрос
  • Установка и настройка
  • Блог
  • Войдите или зарегистрируйтесь, чтобы отправлять комментарии

Комментарии

Аватар пользователя jura1
jura1


30 января 2021 в 22:22




I’m on Windows 11, trying to install Drupal 9 after installing and running MAMP. I’m getting the following error when I reach the «Verify requirements» step for Drupal’s installation:

«PHP EXTENSIONS

Disabled

Drupal requires you to enable the PHP extensions in the following list (see the system requirements page for more information):

  • gd»

When searching how to fix this, I was only able to find solutions related to WAMP and XXAMP. I’ve looked through every PHP.INI file in the «MAMP/conf» folder (there is a folder for each version of PHP), and every single one already had «extension=php_gd2.dll» without the semicolon in front, so I’m not sure why I keep getting this error when I attempt to install Drupal 9.

Stuck with a “PHP extensions Disabled” error on Drupal 8? Let’s take a look at what advice the Support Team at Bobcares has to offer.

If you find yourself staring at a “PHP extension Disabled” error while trying to install Drupal 8, you have come to the right place. Dive in to find out more about the solution offered by the experts at Bobcares.

All About “PHP extensions Disabled” error on Drupal 8

Drupal is one of the most widely used free, open source content management platforms written in PHP. The standard release, popularly known as Drupal core, consists of basic features found in most content management systems.

However, you may run into trouble at the “Verify requirements” stage while attempting to install Drupal. You may come across the image below:

“PHP extensions Disabled” error on Drupal 8

Reason behind “PHP extensions Disabled” error 

According to our Support Engineers, the PHP extensions disables error pops up because the “php5-gd” package is yet installed on your server. You need this extension for the smooth installation of Drupal 8.

In this scenario, we have to install  PHP file, as well as, enable PHP extensions in the next step.

Solution in Debian Jessie 8

Run the following command on the server as root:

apt-get install php5-gd

This automatically loads the “web server config”. Next, install Drupal again. If you still get the error, reboot your server.

[Need further assistance? Give us a call.]

Conclusion

In the end, we saw how easy it is to overcome the “PHP extensions Disabled” error on Drupal 8 with help from the experts at Bobcares.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

How to solve drupal installation php extension error

Now we see the error page drupal php extensions error You are trying to install Drupal 8, but during the installation at “Verify requirements” step, Drupal returns the following error message

Cause ( drupal php extensions error)

The cause of that error is the “php5-gd” package is not installed on your server. That GD extension is required by Drupal 8.

You are trying to install Drupal 8, but during the installation at “Verify requirements” step, Drupal returns the following error message

PHP extensions
Disabled
Drupal requires you to enable the PHP extensions in the following list (see the system requirements page for more information): dom gd SimpleXML XML

Database support
Disabled
Your web server does not appear to support any common PDO database extensions. Check with your hosting provider to see if they support PDO (PHP Data Objects) and offer any databases that


Now our step is installing requirements php file and enables php extensions to follow the next step

drupal php error fix

Now I installing php extension for fixing the error run the command ( Sudo apt install php-dom php-gd php-XML php-MySQL )

sudo apt install phpdom phpgd phpxml phpmysql

After installing the extensions we need to restart our server

sudo service apache2 restart

How to fix drupal clean URL see here

Понравилась статья? Поделить с друзьями:
  • Drugs activated ошибка
  • Dropbox при выполнении вашего запроса возникла ошибка
  • Dropbox ошибка при установке
  • Drone health ошибка
  • Droidcam ошибка connect failed please try again