phpstudy启动Apache失败 80端口被占用

1、phpstudy启动Apache失败

80端口被占用,占用端口进程为system

查看http服务状态:netsh http show servicestate

2、phpstudy启动mysql失败

本地新安装了mysql,与phpstudy中MySQL冲突

找到mysql服务,停止该服务

3、执行PHP命令失败

‘php’ is not recognized as an internal or external command

添加phpstudy的PHP环境变量:D:\phpstudy_pro\Extensions\php\php7.3.4nts

你可能感兴趣的:(apache)