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 做个有关计算的小程序
  • ¥15 MPI读取tif文件无法正常给各进程分配路径
  • ¥15 如何用MATLAB实现以下三个公式(有相互嵌套)
  • ¥30 关于#算法#的问题:运用EViews第九版本进行一系列计量经济学的时间数列数据回归分析预测问题 求各位帮我解答一下
  • ¥15 setInterval 页面闪烁,怎么解决
  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动
  • ¥20 对于工程问题的非线性数学模型进行线性化