OpenSSL disabled in windows 10 - PHP 7.0
-
I use Windows 10 and PHP 7.0 for the Laravel 5.5 project. But I can't run the OpenSSL extension even though the selected OpenSSL ext. in Phpinfo alert disabled (install ext/OpenSSL) I cannot allow this ext.
đây là ảnh chụp màn hình link screen shot
-
@đoàn-nguyễn-phạm : From your screenshot, I see openssl is enabled. Do you have any error messages when installing Laravel?
-
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()
this error :
link Error page
.I tried reinstall windows and reinstall laragon. if I use php version 7.1 or 7.2, I don't have this problem, but 7.0 won't work. My project needs to run php 7.0. (I tried reinstall laragon 3.5 and 4.0 but strangely enough) on another laragon 3.5 computer didn't take the problem, I haven't tried laragon 4.0 on another machine.
-
This link may help:
https://www.marathon-studios.com/blog/solved-laravel-5-error-undefined-function-illuminateencryptionopenssl_cipher_iv_length/If not, you can try adding another version of Apache (just to make sure you don't use the old .dlls)?
https://forum.laragon.org/topic/165/tutorial-how-to-add-another-apache-version
-
I solved the problem by downloading the Apache 2.4 binaries VC14 alternative to the VC15 user. Everything has worked well
-
@đoàn-nguyễn-phạm : I'm glad to hear that - cheers!