简体   繁体   English

将wordpress与apache集成

[英]integrating wordpress with apache

i have installed apache 2.2, php5, mysql separately and as far as they are concerned apache, mysql ans php are working fine with each other, the problem arises when i place the wordpress (unzip) in my htdocs folder the ur; 我已经分别安装了apache 2.2,php5,mysql,就它们而言,apache,mysql和php彼此工作正常,将wordpress(unzip)放在htdocs文件夹中时会出现问题; " http://localhost:81/wordpress " works fine but returs the kind of result as shown in the picture i have uploaded ... hw can i resolve this... http:// localhost:81 / wordpress ”可以正常工作,但是可以还原我上传的图片中所示的结果。 替代文字

Try setting DirectoryIndex ( http://bignosebird.com/apache/a2.shtml ) within httpd.conf or .htaccess 尝试在httpd.conf.htaccess中设置DirectoryIndex( http://bignosebird.com/apache/a2.shtml

DirectoryIndex ..., index.php

You can also try to set the correct Handler via 您也可以尝试通过设置正确的处理程序

AddHandler application/x-httpd-php5 .php

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM