下載
https://www.apachefriends.org/zh_cn/index.html
去官網下載
安裝
然後運行 ./xampp-linux-x64-xxxxxx.run
沒權限就 chmod
Please wait while Setup installs XAMPP on your computer.
Installing
0% ______________ 50% ______________ 100%
#########################################
----------------------------------------------------------------------------
Setup has finished installing XAMPP on your computer.
這樣就成功了。
運行:
/opt/lampp/ ./xampp start
Php安裝
apt install php7.4
你版本自己選