Win7下安裝Apache+PHP+phpMyAdmin+wordpress+drupal+discuz

[Apache]php

 

Listen 90html

 

DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"數據庫

 

<Directory />apache

    Options FollowSymLinkside

    AllowOverride Nonewordpress

    Order deny,allowcode

    #Deny from allserver

    Allow from allhtm

</Directory>it

 

<IfModule dir_module>

    DirectoryIndex index.php index.html index.htm

</IfModule>

 

[PHP]

 

PHPIniDir "C:/Program Files/PHP/"

LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"

 

 

[phpMyAdmin]

/libraries/config.default.php

$cfg['Servers'][$i]['host'] = '127.0.0.1';

CREATE DATABASE 'wordpress' ;

 

[wordpress]

wp-config.php

define('DB_NAME', 'wordpress');

define('DB_USER', 'root');

define('DB_PASSWORD', 'admin');

define('DB_HOST', '127.0.0.1');

清空數據庫以重裝

 

[drupal]

/sites/default/settings.php

127.0.0.1

刪除這個文件,並清空數據庫,再從新建一個settings.php文件以重裝

 

[discuz]

short_open_tag = On

127.0.0.1

upload to server

相關文章
相關標籤/搜索