Skip to content

Commit 0399403

Browse files
committed
Request the output of php -v in the bug_report.yml issue template
The output of `php -v` immediately shows whether OPcache is loaded and whether PHP is a NTS/ZTS and Debug/Release build.
1 parent 1f6fdde commit 0399403

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,22 @@ body:
2222
```
2323
validations:
2424
required: true
25-
- type: input
25+
- type: textarea
2626
attributes:
2727
label: PHP Version
28-
description: "The used PHP version. Make sure it is [supported](https://www.php.net/supported-versions.php)."
29-
placeholder: "PHP 8.0.12"
28+
description: |
29+
Please run PHP with the `-v` flag (e.g. `php -v`, `php8.3 -v`, `php-fpm -v` or similar) and provide the full output of that command. If executing that command is not possible, please provide the full version number as given in PHPInfo.
30+
31+
Please make sure that the used PHP version [is a supported version](https://www.php.net/supported-versions.php)."
32+
placeholder: |
33+
PHP 8.3.19 (cli) (built: Mar 13 2025 17:44:40) (NTS)
34+
Copyright (c) The PHP Group
35+
Zend Engine v4.3.19, Copyright (c) Zend Technologies
36+
with Zend OPcache v8.3.19, Copyright (c), by Zend Technologies
3037
validations:
3138
required: true
3239
- type: input
3340
attributes:
3441
label: Operating System
3542
description: "The used operating system, if relevant."
36-
placeholder: "Ubuntu 20.04"
43+
placeholder: "Ubuntu 24.04"

0 commit comments

Comments
 (0)