![]() ![]() You need to make a copy of this file and rename it to php.ini Please note that in a fresh Mac OS X install, the file php.iniwill not be present in the /etc/ directory and instead there will be a. Next, save the the config file - /etc/php.ini and restart Apache with this command: After you are done with the above steps, you will now have to add the path to this extension at the end of the php.ini file located in your /etc/ folder.Įxtension=/opt/local/lib/php55/extensions/no-debug-non-zts-20121212/mcrypt.soħ. Please note that if you are doing a fresh install of MacPorts then you need to switch to a new tab in order to run the commands in this step.Ħ. If the version of PHP that you get is 5.4, then use the following command instead: If the version of PHP that you get is 5.5, then use the following command to install php-mcrypt:ĥ. Now check for the version of PHP installed on your Mac using the command:Ĥ. Steps 1 and 2 can be skipped if you have already installed MacPorts on your system earlierģ. After this is done, head over to and choose the MacPorts binary for your version of Apple Mac OS X in order to install it
0 Comments
Leave a Reply. |