不知道什么原因,php-fpm自启动不生效了,需要手动配置:
/Library/LaunchDaemons$ cat php-fpm.plist
<?xml version="1.0" encoding="UTF - 8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PLIST1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>php8.3-fpm</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/Cellar/php/8.3.13_1/sbin/php-fpm</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
评论