【发布时间】:2011-07-20 13:29:40
【问题描述】:
在过去的 4 周内,我无法在本地 Apache 上自动安装 WordPress。另一台机器上的正常过程是标准的 - 复制 WP 安装,运行并执行安装脚本。我在这里看到的要么是空白页,要么是内部服务器错误。
即使我使用设置手动更正我的 wp-config.php 文件并安装,我还是会再次收到相同的错误。最后一个 WP 版本分发时没有 .htaccess,因此我希望本地服务器的每次安装都不需要 .htaccess。
这里有我对目录的 httpd.conf 设置:
<Directory "/var/www/html">
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
AllowOverride All
</Directory>
mod_rewrite 在这里加载。
我也怀疑我的 /etc/hosts,但我们有以下几点:
127.0.0.1 localhost localhost.localdomain
我查看了我的 php.ini 文件(PHP 是 5.3.3),没有具体问题。但是,我的 apache 错误日志指出以下内容:
[error] [client 127.0.0.1] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
有什么想法吗?
【问题讨论】:
标签: apache wordpress .htaccess