Jack Posted May 17, 2024 Share Posted May 17, 2024 (edited) --------------------------------- phpMyAdmin --------------------------------- 宝塔面板 -> 软件商店 -> 运行环境 -> phpMyAdmin -> 5.2.0 Stable -> 极速安装 宝塔面板 -> 软件商店 -> 已安装 -> phpMyAdmin 5.2 -> 设置 [v] 启用公共访问权限 公共访问地址: http://你的服务器IP:888/phpmyadmin_xxxxxxxx 也需要到你的云主机 WAF防火墙、Debian Linux的iptables防火墙规则中添加端口 (指定那些IP可以访问phpMyAdmin) http://你的服务器IP:888/phpmyadmin_xxxxxxxx 之后当你要用phpMyAdmin,就从这个网址进入 --------------------------------- Redis --------------------------------- 宝塔面板 -> 软件商店 -> 运行环境 -> Redis -> 安装 -> 7.2.4 Stable -> 极速安装 --------------------------------- 软件商店 -> 已安装 --------------------------------- 在此页面可快速设置已安装的软件 PHP-8.1.30 -> 设置 -> 安装扩展 -> 安装以下这些扩展 fileinfo -> 安装 redis -> 安装 imagemagick -> 安装 exif -> 安装 intl -> 安装 xsl -> 安装 gmp -> 安装 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 = 关闭 -> 保存 -> 刷新 PHP-8.1.30 -> 设置 -> 上传限制 -> 100 MB -> 如果上面设置有效,此时将显示 100 MB PHP-8.1.30 -> 设置 -> 超时限制 -> 180 秒 -> 保存 PHP-8.1.30 -> 设置 -> 禁用函数 -> 如果之后论坛有提示,就到这里添加要禁用的函数 Edited October 23, 2024 by Jack Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now