http://www.v2ex.com/topic/view/18502.html




easyphp2 ( apache 2 + php 5.16 )

v0.6 (http://code.google.com/p/project-babel)

ѹwwwv2exĿ¼

Eidt httpd.conf
=====
1. enable url rewrite巽 http://www.ericfish.com/?q=295
2. ҵ༭
DocumentRoot "C:/Program Files/EasyPHP 2/www/v2ex/htdocs"
=====

import sql script v2ex\sql\babel.mysql.sql

copy v2ex\htdocs\core\Settings.example.php to Settings.php and edit
=====
/* constants for built-in cores */
define('BABEL_DB_HOSTNAME', '127.0.0.1');
define('BABEL_DB_PORT', 3306);
define('BABEL_DB_USERNAME', '???');
define('BABEL_DB_PASSWORD', '???');
define('BABEL_DB_SCHEMATA', 'v2ex');
...
define('BABEL_PREFIX', 'C:/Program Files/EasyPHP 2/www/v2ex');
...
define('BABEL_AM_FROM', '"Project Babel" <noreply@localhost.com>');
define('BABEL_AM_SUPPORT', '???@gmail.com');
define('BABEL_AM_SIGNATURE', "\n\n\n_______________________________________________\n\nProject Babel");

define('BABEL_DNS_NAME', '127.0.0.1');
define('BABEL_DNS_DOMAIN', '127.0.0.1');
define('BABEL_DNS_FEED', '127.0.0.1');
define('BABEL_FEED_URL', 'http://127.0.0.1/feed/v2ex.rss');
=====

run http://127.0.0.1/core/InstallCore.php

copy v2ex\apache\htaccess\.htaccess to v2ex\htdocs

 v0.5 (http://code.google.com/p/project-babel)
ѹlibs\pearµļv2ex\libs\pearĿ¼

edit php.ini
=====
memory_limit = 128M ; Maximum amount of memory a script may consume (8MB)
...
extension=php_mbstring.dll
=====

Done!