Since I want to start learning Laravel, I need to install mcrypt in php. I'm on Mac OSX 10.9 and I installed apache and php manually (no mamp or anything like it) so I followed this guide to install mcrypt. The whole procedure works as expected (no errors), but after restarting the server using sudo apachectl restart
I have a look at the output of phpinfo(), and I can't find any mentioning of mcrypt.
Since I don't think I had any errors in the process of compiling and installing, I don't really know where to look for the mistake. Does anybody know what would be logical things to check for?
I have the same problem, on MAC OS X 10.9, no mcrypt library working. After some hours and many headaches (I'm not so skilled...) I found this guide, and finally get it working on my local machine: http://jenssegers.be/blog/49/installing-the-php-mcrypt-extension-on-osx-10-9-mavericks
The passage I missed were to go in the ext/mcrypt dir of a new php downloaded package and then type:
cd php-5.4.17/ext/mcrypt/ /usr/bin/phpize ./configure make sudo make install
Then add extension=mcrypt.so in my php.ini file.
That's it. Hope this helps!