I\'ve asked the system admins to install mcrypt on the server, and they say everything is OK. But when I run my simple script I get this.
Warning
How to install mcrypt on MAC OSX:
Hello, tested and working on Mac OSX El Capitan:
/usr/lib/php/extensions/mcrypt
/etc/php.ini
and add the following line:
extension = /usr/lib/php/extensions/mcrypt.so
php -m
php -m console result
and see if mcrypt is listed:
phpinfo() shows now mcrypt to be loaded
Yes, I know I'm a gangsta.