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.

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

报告相同问题?

悬赏问题

  • ¥20 电脑重启停留在grub界面,引导出错需修复
  • ¥15 matlab透明图叠加
  • ¥50 基于stm32l4系列 使用blunrg-ms的ble gatt 创建 hid 服务失败
  • ¥150 计算DC/DC变换器平均模型中的参数mu
  • ¥25 C语言代码,大家帮帮我
  • ¥15 请问以下文字内容及对应编码是用了什么加密算法或压缩算法呢?
  • ¥50 关于#html5#的问题:H5页面用户手机返回的时候跳转到指定页面例如(语言-javascript)
  • ¥15 无法使用此凭据登录,因为你的域不可用,如何解决?(标签-Windows)
  • ¥15 yolov9的训练时间
  • ¥15 在linux系统下vscode运行robocup3d上场球员报错