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.

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

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?