dttnb997315 2015-01-12 09:29
浏览 194
已采纳

PHPUnit版本,子PHP 5.3.3

Im running PHP Version 5.3.13.
I installed xDebug Version 2.2.6
Im also using pear.

Im trying to install and use debugging in phpStorm 8, but when I try and start a debugging session I get the following message.

Process finished with exit code 1
Cannot find PHPUnit in include path (.;C:\wamp\bin\php\php5.3.13\pear)

The big issue here is the following PHPUnit 4.4 requires PHP 5.3.3; Ive checked the versions of PHPUnit back to version 4.0 and all require PHP 5.3.3

My question is this. With my current version of PHP, I dont want to update to 5.3.3 and become a problem for our production environment, but I need to do debugging.

What can I do?
Will going from php 5.3.13 to 5.3.3 have significant effects?
Is there a lower version of PHPUnit available somewhere? (its not listed on their site or in Git)

  • 写回答

1条回答 默认 最新

  • download1214 2015-02-03 18:24
    关注

    Your case

    Your version of PHP 5.3.13 is actually newer than version required (5.3.3, since 13 > 3) which means you can safely run PHPUnit 4 on your installation and enjoy it.

    In general

    There is no actively supported version of PHPUnit that is supported on a PHP version earlier than PHP 5.3.3.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题
  • ¥15 wpf界面一直接收PLC给过来的信号,导致UI界面操作起来会卡顿
  • ¥15 init i2c:2 freq:100000[MAIXPY]: find ov2640[MAIXPY]: find ov sensor是main文件哪里有问题吗
  • ¥15 运动想象脑电信号数据集.vhdr
  • ¥15 三因素重复测量数据R语句编写,不存在交互作用
  • ¥15 微信会员卡等级和折扣规则
  • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了