MCrypt Installer for OS X Server
Compatibility
- OS X 10.11.x El Capitan with Server app 5.x (SIP compatible)
- OS X 10.10.x Yosemite with Server app 4.x or 5.x
- OS X 10.9.x Mavericks with Server app 3.x
- OS X 10.8.x Mountain Lion with Server app 2.x
Note: If MCrypt is already installed and loadable by PHP, the installer will exit without making changes.
For both, OS X 10.10 and 10.11 with OS X Server 5
The PHP module installed here:
/usr/local/lib/php/extensions/mcrypt.so
We add/edit the mcrypt module location in /etc/php.ini
extension=/usr/local/lib/php/extensions/mcrypt.so
For OS X 10.8, 10.9 and 10.10 with OS X Server 2-4
PHP modules are installed here:
/usr/lib/php/extensions/no-debug-non-zts-20121212/mcrypt.so
/usr/lib/php/extensions/no-debug-non-zts-20100525/mcrypt.so
/usr/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so
Your system will use the correct version
We enable the mcrypt module location in /etc/php.ini
extension=mcrypt.so
What is installed and how do I remove files installed by this package.
Please see the Installer FAQ.
The topicdesk Mcrypt installer is a free download.
I installed mcrypt but larval is not recognizing it during installation. says Mcrypt PHP extension required.
I don’t know what larval is.. check an info.php page to confirm its loaded.
Hi, Isn’t possible to make the installer to overwrite the old one? While I have tried to install it with other packages, before I have found this.
And can you also make a installer for smbclient extension?
Haven’t received many requests for smbclient, but may look into it.
Not knowing how you installed MCrypt, it is difficult to recommend what to do. In any case, if you remove the reference you added to your php.ini file, you can keep the version that is not working and use our installer.
I know, many people don’t install it, but who will use any own cloud system need it 🙂
It will be great when you can do it also. It is a big help.
I have install it manually from http://sourceforge.net/projects/mcrypt/?source=typ_redirect, but it will not work. OK , I will try it when is enough to remove it from php.ini.
Thanks.
Always have this error: ## PreInstallation Check: MCrypt is already installed. Aborting.
I fool your help.
Have a look at this page:
https://topicdesk.com/faqs/roundcube-installer/roundcube-for-os-x-server-installed-files-and-uninstall-instructions/
and remove the files mentioned in the MCrypt section.
Thanks is now working, but doesn’t understand why I don’t see it with command php-m but when I take in of over <?php phpinfo(); in browser, I see it there. And also some extensions I see only over command and not in browser and counter.
Not all extensions will work with PHP in command line mode.
The MCrypt installer doesn’t modify a system when the MCrypt module is already loading.
The installer does a simple test:
php -m | grep -i ^mcrypt && echo Installed || echo Not Installed
A clean-install can be forced by removing any mcrypt lines from /etc/php.ini
Jeff
I have check it with your command but not installed.
I have check it many times over php -m but without any changes.
Alfista – Please create a folder on your desktop named ‘debug’ then run the installer again.
The debug folder will contain more detail about the installation.
Send the file(s) to: jeff -at- topicdesk.com
I tried installing using Mcrypt installer, however, I never go beyond the disk part. I get a message that say ” Roundcube can’t be installed on this disk.” Is it because I don’t have enough space? I have 304.69 GB available currently. I’m running on Yosemite 10.10.5. Any insight is appreciated!
Same problem do you solve it?
The installer name is MCrypt Installer for OS X Server
It requires the Server application to be installed.
Run this command in Terminal
serverinfo --configured
It should return:
This system has server software configured.
Jeff
how can i install a server application
From what I can tell, mcrypt is unmaintained and obsolete since 2007:
https://en.wikipedia.org/wiki/Mcrypt
http://php.net/manual/en/intro.mcrypt.php
https://paragonie.com/blog/2015/05/if-you-re-typing-word-mcrypt-into-your-code-you-re-doing-it-wrong
It seems like a disservice to recommend it… or are my google searches leading me astray?
I note roundcube stop depending on it since 1.2:
http://www.roundcubeforum.net/index.php?topic=23405.0
When our Roundcube installer is udated from 1.1.4 to 1.2 then mcrypt will likely be removed from the Roundcube Installer.
The topicdesk mcrypt installer and mcrypt install tutorials on other sites are very popular, obviously there is interest.
People do require and do install mcrypt, our package simply automates the process.
Taking our own personal time and resources to package a product for the benefit of others – thats a disservice ?
Jeff
Jeff, sorry for my choice of words, of course the time and effort you provide is a service to the community!
Do you agree with the links above, that mcrypt is abandonware?
Why are you asking me ?
Its up to people that use mcrypt to determine its value.
If you don’t care for it, then move on.
We provide an automated installation for those that need it – thats it.
Discussions about the installer belong here.
Question about your installer then: what version of mcrypt does it install? Could you give the URL of the code you built from?
What about Sierra?
The mcrypt installer is a byproduct of our roundcube installer.
Roundcube no longer requires mcrypt, so we have no plans to update the mcrypt installer – in fact mcrypt will be removed in our next roundcube installer.