After upgrading mac os to 10.12.5, I don’t have permission to compile PHP extensions?
Error reporting in the last step
sudo make install
Installing shared extensions: /usr/lib/php/extensions/no-debug-non-zts-20131226/
cp: /usr/lib/php/extensions/no-debug-non-zts-20131226/#INST@79807#: Operation not permitted
make: *** [install-modules] Error 1
出现了没权限,我打算将/usr/lib/php/extensions/权限修改为777,
但是
sudo chmod -R 777 extensions/
Password:
chmod: Unable to change file mode on extensions/: Operation not permitted
已经是root身份操作,有没有遇到的??
It may be that the file has been made unmodifiable by chattr. Use the lsattr command to check.