rhelphp/readme.md
2025-01-10 18:13:18 +08:00

16 lines
587 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# RHEL PHP
在RHEL Linux中自动安装PHP
本脚本会自动检测RHEL系统和是否位于中国安装对应的Remi源(中国的RHEL9服务器将安装中国特色源)
并检查系统空闲内存对于内存2G且空余硬盘空间5G的系统将自动装载4G的swap以防止yum被杀
安装过程中仅需输入一次安装版本如84即意味着安装php8.4
安装完成后还将自动安装composer并为中国大陆服务器配置特色阿里云镜像源
wget https://git.laysense.com/laysense/rhelphp/raw/branch/main/rhelphp.bash
bash ./rhelphp.bash