Error from Composer: "You must enable openssl extension" [duplicate]
P粉729436537
P粉729436537 2023-07-17 18:42:48
0
1
559

I use XAMPP server and I use php version 8.0.0

I tried to create a Laravel project but I got this error:

In ComposerRepository.php line 1155:

You must enable the openssl extension in your php.ini to load information from https://repo.packagist.org


P粉729436537
P粉729436537

reply all(1)
P粉464208937

要解决这个错误,您需要打开php.ini文件并将分号删除,使其变为:

;extension=php_openssl.dll

如果您的php.ini文件中没有这行,检查您是否有该文件(C:\xampp\php\ext),并在"Dynamic Extensions"部分中添加以下内容:

extension=php_openssl.dll


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template