This long weekend was a good occasion to cleanup a bit my PEAR todo, long weekends are always good for that (especially when it rains 22h/day…). The first entry to get my attention was go-pear, the PEAR installer (the “installer installer”:).
A “bug” was reported about gopear being broken when safemode is On. To be honest, I did not test it that much with safemode On. But given the absence of bug reports, I supposed it was working well
. And I was right.
The problem is the lack of PHP knowledge of some sys admins. Those responsible for this bug mix mod_suphp, open_basedir, safemode without knowing how to confugure them. The results is that any directory created by php cannot be accessed again by itself (but by apache). The FTP users is a different user as well with different permissions, making impossible to delete something.
This bug is a another “good” example. Not setting a temp directory or not adding the system one to the open_basedir directories list is (leave the default value as well).
If you are clients from such ISPs, find a new one, save your money, save my time.