I installed or I started running the Pear from my terminal on Mac and I tried to instal the package Net_UserAgent_Detect but I got an error says something about the line 835 in pearl.php about the touch() function, so I went to that file but I have no idea what should I know!!!! anybody can help thx,
this is the error shows in the terminal :
Code:
Warning: touch(): Unable to create file /usr/lib/php/.lock because Permission denied in /usr/lib/php/PEAR/Registry.php on line 835
could not create lock file: fopen(/usr/lib/php/.lock): failed to open stream: No such file or directory