2017-09-05 1 views
1

Windows 서버 2012 컴퓨터에 Php 7.1.9를 설치했습니다. PHP 정보를 확인하면 mcrypt가 활성화되어있는 것을 볼 수 있지만 쉘 PHP -v를 입력하면 오류 :PHP 7.1.9 mcrypt 라이브러리를 찾을 수 없음

Unable to load dynamic library 'C:/php/ext\php_mcrypt.dll' - The specified module could not be found. 

실제로 Laravel 응용 프로그램을 실행하면 관련 예외가 생깁니다.

ext 폴더를 검사했는데 php_mcrypt.dll이 없습니다.

+0

mcrypt를 설치하려고 했습니까? –

+0

어떻게 그것을 별도로 설치할 수 있습니까? –

+0

이것이 도움이되는지보기 @StefanoMaglione https://www.myoddweb.com/2010/11/18/install-mcrypt-for-php-on-windows/ – Bananaapple

답변

4

위에서 볼 수 있듯이 here mcrypt는 OpenSSL에 대한 지원이 중단되었습니다. PHP의 7.1.x에서 사용되지 않는 기능에서 :

The mcrypt extension has been abandonware for nearly a decade now, and was also fairly complex to use. It has therefore been deprecated in favour of OpenSSL, where it will be removed from the core and into PECL in PHP 7.2.

-1

당신이 laravel의 농가를 사용할 수 있습니다, laravel 프레임 워크에 필요한 모든 필요한 서비스와 사용자 환경을 처리 할 수 ​​있기 때문에 훨씬 더 쉽게 될 것입니다.

https://laravel.com/docs/5.5/homestead

+0

mcrypt는 더 이상 사용되지 않습니다. – Neodan

관련 문제