PHP Fatal error: Uncaught Exception: Could not gather sufficient random data in Stack trace: #0 C:\inetpub\wwwroot\test\test.php(3): session_start()
bearbeitet von Regina Schaukrug> Ich habe jetzt noch den ODBC Treiber installiert aber die Fehlermeldung ist trotzdem noch da.
Hm. Ich war ja nicht dabei. [Hast Du auch Punkt 2 unter "Enable the drivers" beachtet](https://github.com/Microsoft/msphpsql/)?
> ##Install (Windows)
> ###Prerequisites
> * A Web server such as Internet Information Services (IIS) is required. Your Web server must be configured to run PHP
> * Microsoft ODBC Driver 11, Microsoft ODBC Driver 13 or Microsoft ODBC Driver 17
> ###Enable the drivers
> 1. Make sure that the driver is in your PHP extension directory (you can simply copy it there if you did not use nmake install).
> 2. Enable it within your PHP installation's php.ini: extension=php_sqlsrv.dll and/or extension=php_pdo_sqlsrv.dll. If necessary, specify the extension directory using extension_dir, for example: extension_dir = "C:\PHP\ext". Note that the precompiled binaries have different names -- substitute accordingly in php.ini.
> 3. Restart the Web server