跳轉到內容
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.

4.安装软件、PHP扩展、php.ini

精選回覆

發表於

---------------------------------
phpMyAdmin
---------------------------------

宝塔面板 -> 软件商店 -> 运行环境 -> phpMyAdmin -> 5.2.0 Stable -> 极速安装

1.png

 


宝塔面板 -> 软件商店 -> 已安装 -> phpMyAdmin 5.2 -> 设置

2.png

 

 

[v] 启用公共访问权限

公共访问地址: http://你的服务器IP:888/phpmyadmin_xxxxxxxx

3.png

 

 

也需要到你的云主机 WAF防火墙、Debian Linux的iptables防火墙规则中添加端口 (指定那些IP可以访问phpMyAdmin)

http://你的服务器IP:888/phpmyadmin_xxxxxxxx

之后当你要用phpMyAdmin,就从这个网址进入

 

 

 

---------------------------------
Redis
---------------------------------

宝塔面板 -> 软件商店 -> 运行环境 -> Redis -> 安装 -> 7.2.4 Stable -> 极速安装

4.png

 

 

 

---------------------------------
软件商店 -> 已安装
---------------------------------

在此页面可快速设置已安装的软件

5.png

 

 

 

PHP-8.1.30 -> 设置 -> 安装扩展 -> 安装以下这些扩展

fileinfo -> 安装

redis -> 安装

imagemagick -> 安装

exif -> 安装

intl -> 安装

xsl -> 安装

gmp -> 安装

6.png

 

 

7.png

 

 

 

 

PHP-8.1.30 -> 设置 -> 配置修改 (php.ini) -> 修改以下数值

max_execution_time = 300

max_input_time = 180

memory_limit = 512M

post_max_size = 100M

upload_max_filesize =  100M

max_file_uploads = 100

default_socket_timeout = 180

display_errors = 关闭

cgi.fix_pathinfo = 关闭

-> 保存 -> 刷新

8.png

 

 

 


PHP-8.1.30 -> 设置 -> 上传限制 -> 100 MB -> 如果上面设置有效,此时将显示 100 MB

9.png

 

 


PHP-8.1.30 -> 设置 -> 超时限制 -> 180 秒 -> 保存

10.png

 

 

 


PHP-8.1.30 -> 设置 -> 禁用函数 -> 如果之后论坛有提示,就到这里添加要禁用的函数

11.png

 

本文章最後於,由Jack編輯

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

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.