phpstrom下载及配置

本文介绍如何下载并破解PHPStorm,包括修改hosts文件、获取注册码等步骤。同时,详细讲解了在PHPStorm中关闭UnhandledException异常提示的方法,以及如何在WampServer环境下配置Xdebug进行调试。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

下载破解phpstrom

下载phpstrom 2018.2.5 网盘中有
windows下找到
C:\Windows\System32\drivers\etc
1.打开hosts文件,添加:0.0.0.0 account.jetbrains.com
2.用浏览器打开 http://idea.lanyus.com/ ,点击页面中的“获得注册码”,然后在注册时切换至Activation Code选项,输入获得的注册码

关闭try黄色报错提示

PHPStorm 2017.3中新增加了Unhandled Exception 异常提示: 比如使用了throw new Exception("…") 的地方 方法体的phpdoc中没有添加@throw Exception 标签或者在代码块中没有添加try-catch 就会有该提示,官方描述如下: In PhpStorm 2017.3 we’ve added a new inspection Unhandled Exception, which can be found under Settings | Editor | Inspections | PHP | Probable bugs | Unhandled exception. It reports exceptions which are neither enclosed in a try-catch block nor documented using the @throws tag. The inspection helps you find all the places where exceptions could be thrown what would, in turn, lead to Fatal Error. There is a quick fix: “Add @throws tag” and in the next EAP we’re planning to release “Surround with try/catch” quick fix.

如何关掉提示: Preferences->Editor->Inspections-> 搜索框输入“Unhandled Exception” 把后面的框变为未勾选状态 点击OK 即可

使用xdebug

若使用wampserver安装,则已下载好xdebug
[xdebug]
zend_extension =“D:\wamp64\bin\php\php7.1.9\zend_ext\php_xdebug-2.5.5-7.1-vc14-x86_64.dll”

xdebug.remote_enable = on
xdebug.profiler_enable = on
xdebug.remote_port=9000

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值