Reputation: 143
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
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