【发布时间】:2023-04-08 23:08:01
【问题描述】:
每次我尝试通过该链接设置drupal 7 安装时:http://127.0.0.1:8080/drupal/install.php?profile=standard 它会将我重定向到http://127.0.0.1/drupal/install.php?profile=standard&locale=en,但不包括未找到给我资源的端口号,并且当我手动将端口添加到它工作的链接时。如何通过重定向修复链接的端口号。
【问题讨论】:
每次我尝试通过该链接设置drupal 7 安装时:http://127.0.0.1:8080/drupal/install.php?profile=standard 它会将我重定向到http://127.0.0.1/drupal/install.php?profile=standard&locale=en,但不包括未找到给我资源的端口号,并且当我手动将端口添加到它工作的链接时。如何通过重定向修复链接的端口号。
【问题讨论】:
确保检查您的 /sites/default/settings.php 文件。您应该在那里指定正确的数据库和密码。
Drupal 会在多个位置检查有效的 settings.php 文件。
【讨论】: