安装文档:
http://justjavac.gitbooks.io/flarum/content/using/installation.html
vps 环境(lnmp 一键安装的):
PHP:5.5.25
MySQL:5.5.42
php-mysql-5.3.3-46.el6_6.x86_64
mysql-libs-5.1.73-5.el6_6.x86_64
上传安装文件至 /home/wwwroot/default
解压.
访问网址,空白.
已添加 Nginx 规则.
已按下列网址说明排除
http://justjavac.gitbooks.io/flarum/content/using/troubleshooting.html
第二种安装方式:
下载安装包,解压,上传文件到服务器
进入根目录,运行 php flarum/flarum install.
填写网址信息:如网站名称、管理员信息、数据库信息
输出日志(涉及隐私内容*号处理,请体谅):
Installing Flarum...
Database host: localhost
Database name: flarum
Database user: root
Database password: PHP Notice: Undefined variable: output in /home/wwwroot/default/flarum/vendor/symfony/console/Helper/QuestionHelper.php on line 437
PHP Notice: Undefined variable: exitcode in /home/wwwroot/default/flarum/vendor/symfony/console/Helper/QuestionHelper.php on line 437
PHP Warning: exec () has been disabled for security reasons in /home/wwwroot/default/flarum/vendor/symfony/console/Helper/QuestionHelper.php on line 437
PHP Notice: Undefined variable: exitcode in /home/wwwroot/default/flarum/vendor/symfony/console/Helper/QuestionHelper.php on line 439
PHP Warning: shell_exec () has been disabled for security reasons in /home/wwwroot/default/flarum/vendor/symfony/console/Helper/QuestionHelper.php on line 416
PHP Warning: shell_exec () has been disabled for security reasons in /home/wwwroot/default/flarum/vendor/symfony/console/Helper/QuestionHelper.php on line 416
PHP Warning: shell_exec () has been disabled for security reasons in /home/wwwroot/default/flarum/vendor/symfony/console/Helper/QuestionHelper.php on line 416
PHP Warning: shell_exec () has been disabled for security reasons in /home/wwwroot/default/flarum/vendor/symfony/console/Helper/QuestionHelper.php on line 416
******** (此为密码,打星号处理)
Prefix:
Base URL: www.overlooking.ml
Testing config
Writing config
Migrated: 2015_02_24_000000_create_access_tokens_table
Migrated: 2015_02_24_000000_create_config_table
Migrated: 2015_02_24_000000_create_discussions_table
Migrated: 2015_02_24_000000_create_email_tokens_table
Migrated: 2015_02_24_000000_create_groups_table
Migrated: 2015_02_24_000000_create_notifications_table
Migrated: 2015_02_24_000000_create_password_tokens_table
Migrated: 2015_02_24_000000_create_permissions_table
Migrated: 2015_02_24_000000_create_posts_table
Migrated: 2015_02_24_000000_create_users_discussions_table
Migrated: 2015_02_24_000000_create_users_groups_table
Migrated: 2015_02_24_000000_create_users_table
Forum title: ????^H^H (无视掉)
Writing default settings
Admin username: ********
Admin password: *************
Admin email address: *********@gmail.com
Creating admin user ***
PHP Warning: scandir () has been disabled for security reasons in /home/wwwroot/default/flarum/vendor/flarum/core/src/Support/ExtensionManager.php on line 37
PHP Warning: array_diff (): Argument #1 is not an array in /home/wwwroot/default/flarum/vendor/flarum/core/src/Support/ExtensionManager.php on line 37
PHP Warning: Invalid argument supplied for foreach () in /home/wwwroot/default/flarum/vendor/flarum/core/src/Support/ExtensionManager.php on line 40
DONE.
1
zyqf OP 有警告日志,但是不太懂.
|
2
ToysMall 2015-09-05 10:33:41 +08:00 via iPhone
scandir , shell_exec , exec 等一系列函数被禁用了 需要打开 php.ini
|
5
ivmm 2015-09-05 11:50:52 +08:00
我正常~~
就差一个语言包了,很不错的论坛 |
6
LazyZhu 2015-09-05 13:19:25 +08:00
http://flarum.org/docs/installation/
PHP 5.5+ with the following extensions: mbstring, pdo_mysql, openssl, json, gd, dom, fileinfo flarum 缺陷是首次访问比较慢, 得加载一堆 js,以后访问就比较流畅了. |
7
zyqf OP |