【发布时间】:2026-01-04 16:50:02
【问题描述】:
我已经在 Xampp 中成功安装了 PhpUnit,现在我需要配置它,我需要从文档中执行以下步骤:
2. Prepare the phpunit script:
1.
Rename the phpunit.php script to phpunit.
2.
Replace the @php_bin@ string in it with the path to your PHP command-line interpreter (usually /usr/bin/php).
3.
Copy it to a directory that is in your path and make it executable (chmod +x phpunit).
3. Prepare the PHPUnit/Util/PHP.php script:
1.
Replace the @php_bin@ string in it with the path to your PHP command-line interpreter (usually /usr/bin/php).
我在 PEAR 目录中找不到 phpunit.php。关于这个文件在 PhpUnit 的 Xampp 安装中在哪里的任何线索?有什么线索吗?
最好的问候,
更新1:
我已经通过 PEAR 安装了它。好的,我会看看这是否有效。
最好的问候,
【问题讨论】:
-
从您的其他问题来看,我认为它有效吗?还是您遇到了另一个问题? :)
标签: php installation phpunit xampp