computers
Ravencore and PHP 5.3
If you use Ravencore (it's a pretty simple little web control panel) you've probably figured out by now that it doesn't work under PHP 5.3. The reason is that the author wrote a custom function called "goto." PHP never had a goto until 5.3. His custom goto conflicts with the standard one. PHP was attempting to interpret his function as the built-in. So, one quick command line and you can fix this
cd /usr/local/ravencore/httpdocs
find . -type f -exec sed -i "s/goto/openfile/g" '{}' \;
His function was basically "opening" these files, so I just renamed "goto" as "openfile." Now your nifty little control panel works like a charm and the customer who uses it is happy once more. btw - I prefer grep, awk, sed, and vi as my control panel...;)
- Login to post comments
I miss Sun
Yeah, I said it. I miss Sun Microsystems. Sun was a company that had some way-cool stuff years ago. They also had probably the best commercially available UNIX on the market (note I sad HAD) for quite a while (side note - I'm partially biased as I have certifications for Solaris 7 and 8 but I also think IBM's AIX is way cool). Then Linux happened. That threw a wrench in all of the UNIX vendors plans. Sun, IBM, DEC (Digital Equipment Corp.), Compaq (who I still despise for killing DEC), SCO, etc....all weren't really prepared for what hit them. Linux (as well as the BSD's of the world) weren't really any more feature rich than other UNIX OS's - in fact, they lacked many of the features that commercial versions had. Skip forward about 15yrs and Linux is fully featured and can go toe-to-toe with any commercial UNIX OS on the market.