phpnow下安装cmstop大众版需要注意的地方

phpnow下安装cmstop大众版,开始好几次安装到 “开始安装App”就卡死。

后来找到文章看 http://www.mycodes.net/74/3345.htm 解决问题。

注意的几个点是:

  1. libmysql.dll的替换
    如果是mysql5.1的话 用 http://www.mycodes.net/upload/buding/libmysql.rar 下载的
    libmysql.dll 替换 PHPnow\Apache-22\bin 和 PHPnow\php-5.2.14-Win32 目录下
    如果安装的是 Apache2.0也一样。
    (或者到 http://pan.baidu.com/share/link?shareid=3353750851&uk=3006687191 这里下载)

  2. php.ini
    max_execution_time = 600
    max_input_time = 600
    magic_quotes_gpc = Off

  3. 找到 httpd.conf
    修改
    DirectoryIndex index.shtml index.html index.htm index.php

    去除这两行注释:

    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml

    找到Options Indexes FollowSymLinks这句,修改为:
    Options Indexes FollowSymLinks Includes
    这样 Apache 就支持 .shtml 索引页以及服务器端包含SSI了。

  4. http-vhosts.conf文件配置:
    我的可行配置如下:

    <Directory "../vhosts/cmstop.cc">
        Options -Indexes FollowSymLinks MultiViews Includes
        DirectoryIndex index.shtml index.html index.php
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    
    ServerName cmstop.cc:80
    ServerAlias *.cmstop.cc 127.0.0.1 192.168.1.88
    DocumentRoot "../vhosts/cmstop.cc"
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
    ServerSignature On
    

其实主要修改是:
Options -Indexes FollowSymLinks Includes

你可能感兴趣的:(PHP环境,cmstop,phpnow)