Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

johndoee's avatar

The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl ex tension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true.

i have php 8.1 version and xampp 3.3.0 . when i try to run old laravel project build in php 7.3 / laravel 7 , i run composer update . it show error

 The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl ex   
  tension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true.

disable tls true is not answer . already enable extension=openssl in php.ini i run on window . how can solve this

0 likes
5 replies

Please or to participate in this conversation.