安装文档:
http://justjavac.gitbooks.io/flarum/content/using/installation.htmlvps 环境(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.mlTesting 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.
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/218354
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.