title: Issue while installing magento 2 .php version 8.1.1
body: <p>Fatal error: During inheritance of Countable: Uncaught Exception: Deprecated Functionality: Return type of Laminas\Http\Headers::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\magento2\vendor\laminas\laminas-http\src\Headers.php on line 385 in C:\xampp\htdocs\magento2\vendor\magento\framework\App\ErrorHandler.php:61</p>