跳轉到內容
PHP論壇人

软件设置、PHP扩展设置、php.ini设置


Jack

推薦的文章

软件设置、PHP扩展设置、php.ini设置


App Store -> Installed -> PHP Guardian

PHP守护,监控PHP-FPM运行状态,防止大批量出现502错误!

PHP Daemon turned on, no need to configurate

 

 


phpMyAdmin

著名Web端MySQL管理工具

App Store -> Installed -> phpMyAdmin

[v] Enable public access 启用公共访问权限

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

到你的云主机WAF防火墙、你的Linux防火墙限制访问端口888的IP (设置那些IP可以访问phpMyAdmin)

aa1.png

 

 

 

 

App Store -> Installed -> PHP-8.1 -> Setting -> Install extensions

将以下这些扩展给安装

fileinfo -> Install
redis -> Install
imagemagick -> Install
exif -> Install
intl -> Install
xsl -> Install
gmp -> Install

aa2.png

 

 

 

修改 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 = Off

Save 保存

然后 Refresh 刷新

aa3.png

 

 


Limit of upload 上传限制 -> 100 MB -> Save保存

Limit of timeout 超时限制 -> 180 秒 -> Save保存

Disabled functions 禁用函数 -> 如果IPS论坛有提示,到这添加要禁用的函数

本文章最後於,由Jack編輯
意見的連結

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

你需要成為會員才能發表意見

建立帳號

在我們的論壇註冊新帳號,只需要幾個簡單步驟!

註冊帳號

登入

已有帳號?請登入。

現在登入
×
×
  • 建立新的...