If you read Coyote Tracks*, you’ve probably noticed that I recently set up a thing over there in the right-hand side that says “My Latest Tweets”. At first, that was just a little PHP widget that I’d hacked together myself. But then I realized it could actually be useful to other people, because it does [...]
Tag Archives: php
Workaround for PEAR/PECL Failure with Message “ERROR: `phpize’ failed”
When you try to upgrade or install various PEAR (or PECL) packages, you may get the rather unhelpful error message “ERROR: `phpize’ failed”. For example, here’s the result I get when I try to install the pecl_http package:
root@finrod:~# pecl install pecl_http
pecl/pecl_http can optionally use PHP extension "iconv"
downloading pecl_http-1.6.3.tar ...
Starting to download pecl_http-1.6.3.tar (Unknown size)
................................................................................
................................................................................
.........................................done: 1,015,808 [...]
Grousing About PHP’s Limitations
Drat. I would like to chase back up the class hierarchy of a bunch objects, and then do something based on the second-from-the-top of that chain. (For example, when the chain goes Word > Noun > Animal > Mammal > Human, and I’ve instantiated a Human, I’d like that object to be able to tell that it’s a Noun.)
Unfortunately, I’m [...]
I’m Getting Tired of Yak-Shaving
It seems like every time I try to get around to actually writing some code, I discover yet another thing that I have to do in order to make that more possible. Today, it was: Get PHPUnit installed on Lórien, so I could run my unit tests locally during development, rather than having to shove [...]