【发布时间】:2014-04-27 19:47:51
【问题描述】:
我正在尝试使用 FreeBSD 设置一个 drupal Web 服务器。
当我尝试访问 drupal 索引时,我受到了欢迎:
致命错误:require_once():需要打开失败 '/usr/local/www/apache24/data/drupal/includes/database/sqlite/database.inc' (include_path='.:/usr/local/share/pear') 在 /usr/local/www/apache24/data/drupal/includes/database/database.inc 上 第 1685 行
我是 freeBSD 的新手,但我尝试将 chmod 667 设置为:
sqlite/database.inc
database/database.inc
sqlite
database
另外,我不明白它为什么要寻找/usr/local/share/pear,因为没有这样的目录。
我正在使用 MySQL55、PHP5、Drupal-7 和 Apache。
我认为这可能是相关的,但是当我访问 install.php 时,我得到:
未定义索引:drupal_install_profile_distribution_name() 中的 distribution_name(/usr/local/www/apache24/data/drupal/includes/install.inc 的第 201 行)。
【问题讨论】:
-
更新,foing以下后不再立即超时报错:chmod u+rwx,g+rwx,o+wrx database/sqlite/database.inc