Oct/090
Setup mod rewrite on apache
Three places need to change to do this.
sudo a2enmod rewrite
Add AllowOverride All to virtual host file
Add RewriteEngine On to .htaccess
Oct/090
Sphinx Search default limit is 20
When using the sphinx api, you must use SetLimts if you want more than 20 records. Currently, it is not documented on the sphinx api doc.
Oct/090
Fatal error: Call to undefined function: curl_init in php
For some reason, my workstation with Ubuntu 9.04, php5, apache2 and php5-curl install was giving me the curl package not installed message. Well, it turns out that for some reason, my default /etc/php5/apache2/php.ini had the extension directory pointing to /usr/lib/php5/ext/ while all the extensions were in /usr/lib/php5/20060613/
I was trying to figure out why I am not seeing curl.so in the ext directory after I have apt-get installed and removed php5-curl many times. Solution is usually very simple.