문제

I am trying to make a simple Laravel app.

It seems to be installed correctly but once I run:

localhost/codehero-laravel/public/

(the example code)

it shows the message: "Mcrypt PHP extension required."

It is weird because when I run php -m it appears mcrypt.

Also, if I run "$php --info | grep mcrypt" it appears:

mcrypt
mcrypt support => enabled
mcrypt_filter support => enabled
mcrypt.algorithms_dir => no value => no value
mcrypt.modes_dir => no value => no value

I tried everything I've fallen into, so please, can you help me?

Thank you very much!

도움이 되었습니까?

해결책

Depending on your OS, you might have to create a symlink to mcrypt or move the .so file into another folder.

On Ubuntu:

$ sudo php5enmod mcrypt
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top