- 安装phpstorm
- 破解注册码
- xdebug 配置
Activation code 方式
用浏览器打开 http://idea.lanyus.com/ (推荐)
点击页面中的“获得注册码”,然后在注册时切换至Activation Code选项,输入获得的注册码一长串字符串,便可以注册成功了!(推荐用这种方式)
打开网址 http://idea.lanyus.com/ 选择获取注册码,复制生成的验证码
安装完成后,打开软件,依次选择菜单栏 Help -> Register-> Activation code ->输入复制验证码->确定完成。
最近(2017年4月)发现输入Activation code后出现:This license CNEKJPQZEX has been cancelled.
激活失败的解决方法:将“0.0.0.0 account.jetbrains.com”添加到hosts文件中
配置Xdebug
[XDebug]
xdebug.profiler_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"
xdebug.trace_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"
zend_extension="你的安装PHP文件里面的xdebug文件\php_xdebug.dll" **如果这里没有该文件,去下载对应版本的xdebug文件。
xdebug.remote_enable = 1
xdebug.remote_port=9000
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 1
xdebug.idekey = PHPSTORM
配置phpstromxdebug 可以参照 https://blog.csdn.net/flyingdream123/article/details/69358819