Jump to content
PHP論壇人

虚拟机 / Virtual Host / Shared Hosting 不建议架设论坛


Recommended Posts

Virtual Host / Shared Hosting / 虚拟机 限制很多,不建议架设Invision Community论坛

很高级的虚拟机应该可以架设Invision Community论坛

 

不过在安装时,可能碰到问题,在虚拟机的面板,先将PHP版本调整为PHP 7.4或PHP 7.3

若有PHP 8.0,可支持Invision Community 4.6

 

数据库版本调整为MySQL 5.6,如果有MariaDB,最好选择MariaDB 10.3 或MariaDB 10.4以上版本

 

PHP设置,一定要调整php.ini

memory_limit = 512M (导入中文包,没调高将导入失败,或只有部份的中文)

upload_max_filesize = 100M (上传的文件大小,最大是100 MB)

max_file_uploads = 100 (一次只能上传100个文件)

 

在安装论坛时,这些问题也会碰到

Your server does not allow temporary files to be created in the configured temporary directory. To work around this issue please create a file named constants.php at ****** with the following code in it:
<?php
define( 'TEMP_DIRECTORY', dirname( __FILE__ ) . '/uploads' );</span>


你的服务器不允许在配置的暂存目录中创建暂存文件。
要解决此问题,请在*******中创建一个名为constants.php的文件,其中包含以下代码:
<?php
define( 'TEMP_DIRECTORY', dirname( __FILE__ ) . '/uploads' );</span>


 

导入中文语言包出问题,导入失败或只有部份是中文

大多是PHP设置,调整 php.ini

memory_limit = 512M

 

 

Your account has been locked. Try again in 15 minutes.

你的帐户锁定。请在15分钟后重试。

碰到这个问题,尝试从论坛后台登录并修改

https://论坛.com/admin/

论坛后台 -> 系统 -> 高级配置

[v] 信任代理服务器提供的IP地址?

[x] 验证会话时,检查IP地址?

v01.png

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...