Linkify Your Twitter Feed

Posted on February 7th, 2009 in php by jeremyp

In case you missed it, I wrote a guest blog article over at the david walsh blog on how to add html links to your Twitter status using some regular expressions in PHP. You should go check it out if you haven’t.

Use php5 and php4 on Same Apache Server

Posted on January 25th, 2009 in apache, php by jeremyp

A while back at work I needed to use php5 for a site that was hosted on a machine that uses Apache’s mod-php4. Since I needed to keep php4 for the rest of the sites hosted on this machine, I needed to find a way to enable php5 for just one virtual host. It turned out to be a relatively easy thing to do. I just needed to install the php5 CGI package and tell Apache to use CGI for php files on that particular virtual host. Here is how I accomplished this on our Debian server:

Symfony 1.1 Released

Posted on July 1st, 2008 in php by jeremyp

The guys over at symfony have just released the much-anticipated version 1.1 of their popular PHP web framework. I have yet to try out the new version, but if it’s as good as it sounds, we’re in for a treat. I switched from Rails to symfony 1.0 relatively recently because of Ruby’s dog-slow performance on Dreamhost, and am loving it.

Version 1.1 is technically a “transition” release that will bridge the gap between 1.0 and 1.2, but there are still quite a few improvements. Some of the new features include:

  • Increased support of better-performing ORMs (than Propel 1.2) like Propel 1.3 and Doctrine
  • New object-oriented form framework
  • New forms book to go along with said framework
  • New task system for easy maintenance and batching
  • Countless performance and usability improvements
Get it while it’s hot, folks!