配置PHP学习环境时遇到的问题XAMPP,PhpStrom

    我的主机是Windows7专业版,下载的XAMPP和PhpStorm都是官网最新版本,下面就来讲述一下在配置环境的时候遇到的问题和解决的办法。

一,XAMPP 遇到的的问题:

1,启动Apache时缺少api-ms-win-crt-runtimel1-1-0.dll;

解决办法:

参考:https://blog.csdn.net/huqiao1206/article/details/50768481#更新到win7-sp1;

升级系统至Windows7 sp1 后安装VC redit.exe 即可解决问题

 

2,启动Apache时报出错误:

18:22:07 [Apache] Error: Apache shutdown unexpectedly.

18:22:07 [Apache] This may be due to a blocked port, missing dependencies,

18:22:07 [Apache] improper privileges, a crash, or a shutdown by another method.

18:22:07 [Apache] Press the Logs button to view error logs and check

18:22:07 [Apache] the Windows Event Viewer for more clues

18:22:07 [Apache] If you need more help, copy and post this

18:22:07 [Apache] entire log window on the forums

 

问题主要就是端口被占用,两种解决办法:

(1)改变Apace所需要的端口(80和443)

在httpd.conf和httpd-ssl.conf中把"Listen"和"ServerName localhost"后的端口号改写即可。

(2)将占用端口的进程关闭

 

 

二,PhpStorm

1,激活:

参考:https://blog.csdn.net/voke_/article/details/78794567

 

命令:-javaagent:D:\Program Files\JetBrains\PhpStorm 2018.1.5\lib\JetbrainsCrack.jar

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值