解决sh: 0: getcwd() failed: No such file or directory

In ubuntu12.04, php5, apache2.2

This problem is actually a bug, you can refer to the official bug click to open the link  , this problem is quite wonderful, the solution is

When apt-get install XXX, and

Previous cd ~,

Then apt-get install XXX do not have this problem

Guess you like

Origin www.cnblogs.com/aididiao/p/12336348.html