shivammathur / homebrew-php

:beer: Homebrew tap for PHP 5.6 to 8.4. PHP 8.4 is built nightly.

Home Page:https://github.com/shivammathur/homebrew-php/packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mcrypt PHP extension required. php@5.6

warksit opened this issue · comments

Describe the bug
Receive "Mcrypt PHP extension required." when trying to run an old Laravel 4 project on php@5.6

PHP versions
5.6

To Reproduce

brew install php@5.6 then try and use mcrypt

Expected behavior
I understoof the mcrypt extention is installed with php@5.6

Are you willing to submit a PR?
Yes if i knew how to fix

@warksit
PHP 5.6 is built with mcrypt, so it should be loaded by default.
Ref: https://github.com/shivammathur/homebrew-php/blob/master/Formula/php%405.6.rb#L174

Please run php -m to check the loaded extensions.

A reboot seems to have resolved the isssue, sorry