So today I want to install one new package from PEAR on my laptop. Before doing so I decided to upgrade the packages I had already installed. The upgrade went smoothly enough, but once it was complete, the PEAR command line program would no longer work. Whenever I run pear.bat now, I get the following helpful error messages:
Warning: array_shift(): The argument should be an array in pearcmd.php on line 54 Console_Getopt: Could not read cmd args (register_argc_argv=Off?)
Great. At a loss for what to do, I immediately run out and upgrade to PHP 4.4.0. When I have the upgrade complete, I install PEAR and find that the same problem exists. I can only assume then that the latest version of PEAR is currently broken for all Windows users. Does any other conclusion really make sense? And of course when a fix is released I won’t be able to install it because PEAR is actually used to install upgrades to itself.
And to think that I’ve been known to complain about the difficulty of managing JAR files in the Java world.