shivamkss
shivamkss

Reputation: 143

Error configuring mcrypt after upgrading to El Capitam

I am facing the following issue after upgrading to El Capitan. It says:

"Installing shared extensions: /usr/lib/php/extensions/no-debug-non-zts-20121212/ cp: /usr/lib/php/extensions/no-debug-non-zts-20121212/#INST@826#: Operation not permitted"

while configuring mcrypt.

Upvotes: 0

Views: 548

Answers (1)

Dumitru Cirimpei
Dumitru Cirimpei

Reputation: 26

The problem was due to OS X 10.11 El Capitan's Rootless feature. To install the extension into /usr/lib/php/* you need temporarily disable the feature. 1. Boot into recovery mode (while booting hold down Command+R) 2. Enter csrutil disable in terminal 3. Restart computer and System Integrity Protection will be disabled. Don't Forget to re-enable it afterwards (csrutil enable also in recovery mode)

Upvotes: 1

Related Questions