跳转到主要内容
东方龙马 提交于 24 December 2012

原文地址:http://drupal.org/node/1801862

Drupal 7 注意事项(notes)

  • 两个标准的 PHP 扩展 (默认被启用) Hash 以及 JSON在 Drupal 7里是必须的。
  • 如果服务器上安装了必须的库,Drupal 7 更新管理器可以通过SSH来安装/更新模块和主题。如果您具有Debian/Ubuntu服务器的管理员权限,而且SSH还不可用的时候 (参阅您的phpinfo),它通常可以通过执行以下命令来安装: apt-get install libssh2-php.
  • Php 数据对象 (PDO) 必须被激活,以便安装并正常运行Drupal 7。 打开您的 php.ini. 取消 (删掉前面的分号) extension=php_pdo.dll, extension=php_pdo_mysql.dll行前面的注释。 在 Linux 下,这些将是 extension=pdo.so 以及 extension=pdo_mysql.so。 有些 Linux 发行版可能在conf.d 文件夹的文件里默认有这些扩展。如果没有这几行扩展,您需要添加它们。PDO的 PECL 版不兼容 Drupal 7,而且不能用。在 PDO是什么页里您可以找到更多相关的信息。
  • Drupal 7 可能需要至少30秒的时间配置。

Drupal 7: PHP 5.2.5* or higher (5.3 recommended)

*For Drupal 7, versions of PHP 5.2.4 that include backported security patches also meet the requirements. The PHP version included with Ubuntu 8.04 is the most common example of this.

See the phpinfo() page on Drupal.org to learn how to use phpinfo to get the details of your system. For example, phpinfo will tell you if you have a database already installed and what versions of PHP, MySQL, etc. your system is running. Phpinfo will also tell you what PHP variables are set as well as many other helpful things.

Taxonomy upgrade extras