官网下载
官网地址
https://www.apachefriends.org/index.html
下载地址
https://downloadsapachefriends.global.ssl.fastly.net/7.4.8/xampp-osx-7.4.8-0-vm.dmg?from_af=true
安装完成
开启服务
使用
cd /Applications/XAMPP/bin
? bin php -v
PHP 7.3.11 (cli) (built: Apr 17 2020 19:14:14) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies