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
出現(xiàn)了沒權限,我打算將/usr/lib/php/extensions/權限修改為777,
但是
sudo chmod -R 777 extensions/
Password:
chmod: Unable to change file mode on extensions/: Operation not permitted
已經(jīng)是root身份操作,有沒有遇到的??
It may be that the file has been made unmodifiable by chattr. Use the lsattr command to check.