2021-04-19 11素材网 1462
php安装在“/usr/local/lib”中,查看方法:1、连接相应linux主机,进入linux命令行状态;2、执行shell指令“find / -name *php*”,即可获取PHP安装目录“/usr/local/lib/php”
1、首先,连接相应linux主机,进入到linux命令行状态下,等待输入shell指令。
2、在linux命令行下输入shell指令:find / -name *php*。键盘按“回车键”运行shell指令,此时会看到php安装目录在/usr/local/lib/php。