Platform
Windows
Operating system version
Windows 11
System architecture
Windows
Herd Version
1.28.0
PHP Version
8.5.6
Bug description
Hello!
I'm trying to install XCODE for Pest type checking. When I run something like 'herd restart' or when running composer commands I keep getting an error, which I'm unsure how to fix.
In my php.ini I've added the following lines:
; For code-coverage (this was added for Pest the 18/05/2026 manually)
zend_extension=C:\Program Files\Herd\resources\app.asar.unpacked\resources\bin\xdebug\xdebug-8.3.dll
xdebug.mode=debug,develop
xdebug.start_with_request=yes
xdebug.start_upon_error=yes
But this doesn't work as well. I keep getting the error:
ERROR No code coverage driver is available.
The only logs I have:
Zend OPcache requires Zend Engine API version 420240925.
The Zend Engine API version 420250925 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
Xdebug requires Zend Engine API version 420230831.
The Zend Engine API version 420250925 which is installed, is newer.
Contact Derick Rethans at https://xdebug.org/docs/faq#api for a later version of Xdebug.
Any solution for this?
Thanks!
Steps to reproduce
- Install Herd
- Install PHP 8.5
- Try to enable Xdebug
- Run composer install (or any other command)
Relevant log output
Zend OPcache requires Zend Engine API version 420240925.
The Zend Engine API version 420250925 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
Xdebug requires Zend Engine API version 420230831.
The Zend Engine API version 420250925 which is installed, is newer.
Contact Derick Rethans at https://xdebug.org/docs/faq#api for a later version of Xdebug.
Platform
Windows
Operating system version
Windows 11
System architecture
Windows
Herd Version
1.28.0
PHP Version
8.5.6
Bug description
Hello!
I'm trying to install XCODE for Pest type checking. When I run something like 'herd restart' or when running composer commands I keep getting an error, which I'm unsure how to fix.
In my php.ini I've added the following lines:
; For code-coverage (this was added for Pest the 18/05/2026 manually)
zend_extension=C:\Program Files\Herd\resources\app.asar.unpacked\resources\bin\xdebug\xdebug-8.3.dll
xdebug.mode=debug,develop
xdebug.start_with_request=yes
xdebug.start_upon_error=yes
But this doesn't work as well. I keep getting the error:
ERROR No code coverage driver is available.
The only logs I have:
Zend OPcache requires Zend Engine API version 420240925.
The Zend Engine API version 420250925 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
Xdebug requires Zend Engine API version 420230831.
The Zend Engine API version 420250925 which is installed, is newer.
Contact Derick Rethans at https://xdebug.org/docs/faq#api for a later version of Xdebug.
Any solution for this?
Thanks!
Steps to reproduce
Relevant log output