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

时间:2021-06-08 01:42:16

[Apache]

Listen 90

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

<Directory />

Options FollowSymLinks

AllowOverride None

Order deny,allow

#Deny from all

Allow from all

</Directory>

<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