-
Improvement
-
Resolution: Done
-
Minor
-
None
-
4.3.1, 4.4
-
MOODLE_403_STABLE, MOODLE_404_STABLE
https://php.watch/versions/8.3/cli-server-server-software-changes
PHP has a built-in CGI-compatible server that can be used to test PHP applications without having to use a fully-fledged server software such as Apache, Nginx, or Caddy. It follows RFC3875, which defines the request meta variables and their characteristics, which are exposed to PHP applications in the $_SERVER super global variable.
Prior to PHP 8.3, the $_SERVER['SERVER_SOFTWARE'] value was in the form of PHP %version% Development Server, and this was a violation of the RFC3875 - 4.1.17. This is fixed in PHP 8.3, and the built-in CLI server now follows the pattern required by the RFC.
PHP 8.2.0 Development Server
PHP/8.3.0 (Development Server)
Note that the X-Powered-By value or its format has not changed.
Required
- Confirm whether we make use of $_SERVER['SERVER_SOFTWARE'] (we do)
- Confirm whether we check for use of the PHP development server (we do)
- Confirm whether the change in format impacts us (It doesn't but please confirm)
- has a non-specific relationship to
-
MDL-80144 Validation only: Confirm a collection of PHP 8.3 issues are no-op
-
- Closed
-