Stellen Sie die PHP -Version in php.ini fest

If you are work at local, you can't set php version in php.ini.
Install other php version.
Example:
Xampp PHP 7.4.29
Xampp PHP 8.1.5
Murat Çakmak