Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Unable to install mcrypt and smbclient php extension

Hi,


i will install some PHP extension to my OS X 10.11 with Server app V5.

I have disabled the SIP, installed it, but some of it will not work. They are mcrypt and smbclient.

The installation was done correctly and the extensions are in correct place and are added in php.ini.


Please can anybody help me what should I do, that it works?


Thanks.

OS X Server

Posted on Jan 29, 2016 6:17 AM

Reply
Question marked as Best reply

Posted on Feb 5, 2016 2:35 AM

Your Apache logs should give you clues as to why things do not work as expected. As a rule of thumb, there should be no need to disable SIP to install additional PHP modules. Simply install them into /usr/local or any directory not monitored by SIP.


For MCrypt, you could use this installer, which will make live easier for you:

https://topicdesk.com/downloads/tools/mcrypt/


HTH,

Alex

4 replies
Question marked as Best reply

Feb 5, 2016 2:35 AM in response to Alfista_SK

Your Apache logs should give you clues as to why things do not work as expected. As a rule of thumb, there should be no need to disable SIP to install additional PHP modules. Simply install them into /usr/local or any directory not monitored by SIP.


For MCrypt, you could use this installer, which will make live easier for you:

https://topicdesk.com/downloads/tools/mcrypt/


HTH,

Alex

Unable to install mcrypt and smbclient php extension

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.