跳轉到內容
View in the app

A better way to browse. Learn more.

PHP論壇人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

精選回覆

發表於

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

建立帳號或登入後發表意見

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.