02Jul
Getting Lighttpd, FastCGI and PHP working on CentOS 4
HowTo, Linux, PHP, TechnologyOver the years I have been installing Lighttpd from the RPMforge repository on my CentOS 4 servers for high traffic sites. The one thing that bothers me time and again is that installing lighttpd, lighttpd-fastcgi and PHP; configuring lighttpd.conf to enable FastCGI and configuring FastCGI for PHP isn’t all that is required. Try [...]
23Jan
Display Most Recent Wordpress Posts On Another Site
HowTo, PHP, WordpressI was recently had the job of displaying the most recent Wordpress posts on a sites main page. The easiest way I could think of doing this is to use the RSS feed.
I’ll give two sample php functions that will do this as one requires some pear packages and the other doesn’t.
Option 1
This option [...]