我想使用 Ngnix 运行 Drupal,但是一旦我安装了 ngnix、drupal,我就会看到:
Drupal requires you to enable the PHP extensions in the following list
(see the system requirements page for more information):
dom
gd
pdo
Run Code Online (Sandbox Code Playgroud)
我有显示这些模块未加载的 php 脚本:
<?php
$dom = extension_loaded( 'dom');
$gd = extension_loaded( 'gd');
$pdo = extension_loaded( 'pdo');
echo '<p>Hello Bogus Drupal, from Tommy the Geek</p>';
echo "GD: ", extension_loaded('gd') ? 'OK' : 'MISSING', '<br>';
echo "dom: ", extension_loaded('dom') ? 'OK' : 'MISSING', '<br>';
echo "PDO: ", extension_loaded('pdo') ? 'OK' : 'MISSING', '<br>';
echo …Run Code Online (Sandbox Code Playgroud)