Photo

An Afghan vendor looks for customers on the second day of the Eid al-Adha in Kabul, Afghanistan (Muhammed Muheisen/AP)
25 notes
·
View notes
Text
Compiling phpredis on Zend Server CE/OSX Lion
Download phpredis source code from https://github.com/nicolasff/phpredis git clone git://github.com/nicolasff/phpredis.git
By default, compiling PHP extension on OSX Lion will generate a 64bit binary. However, Zend Server CE only support PHP 32bit. Therefore, I must compile phpredis in 32bit architecture. phpize ./configure CFLAGS="-arch i386" make
Verify if phpredis is 32bit (Mach-O bundle i386) cd ./modules file redis.so
If so, copy redis.so to Zend Server CE's PHP extensions folder: sudo cp redis.so /usr/local/zend/lib/php_extensions
Restart Zend Server CE: sudo /usr/local/zend/bin/zendctl.sh restart-apache
31 notes
·
View notes
Photo
the-absolute-funniest-posts:
Follow this blog, you will love it on your dashboard

8K notes
·
View notes
Photo
taitran:
iPhone Killers - Don’t let ‘em get away with it

5 notes
·
View notes