bash: php: command not found 

解决:

export PATH=$PATH:/usr/local/php/bin

或者创建软连接

ln -s /usr/local/php/bin/php  /usr/local/bin

最后修改日期: 2020年7月30日