【问题标题】:integrating wordpress with apache将 wordpress 与 apache 集成
【发布时间】:2011-01-17 09:38:12
【问题描述】:

我已经分别安装了 apache 2.2、php5、mysql,就它们而言,apache、mysql 和 php 彼此运行良好,当我将 wordpress(解压缩)放在我的 htdocs 文件夹中时出现问题; "http://localhost:81/wordpress" 工作正常,但返回的结果如我上传的图片所示...我可以解决这个问题...

【问题讨论】:

    标签: php apache wordpress


    【解决方案1】:

    尝试在 httpd.conf.htaccess

    中设置 DirectoryIndex (http://bignosebird.com/apache/a2.shtml)
    DirectoryIndex ..., index.php
    

    你也可以尝试通过

    设置正确的Handler
    AddHandler application/x-httpd-php5 .php
    

    【讨论】:

    • tnx Tobiask 它就像一个魅力......但现在当我输入 localhost:81/ 而不是显示它有效!它给了我一个目录列表......只是出于好奇:)
    猜你喜欢
    • 2018-10-04
    • 2011-09-04
    • 2014-01-26
    • 2012-09-24
    • 2010-12-03
    • 1970-01-01
    • 2023-01-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多