How do I roll? I roll with PHP/6.0.0-dev.
I’ve had one insanely sweet idea for a website last Sunday. So after I got home today, I worked on building a php6 installed. I must say it’s not easy. I could not get the direct cvs checkout to compile correctly. It seems to me that flex and yacc weren’t generating the parser and I didn’t feel like fixing.
So I headed on over to snaps.php.net and downloaded a prebuilt cvs export. After installing at least 15 libabc-dev packages via apt-get, I was ready to build. So I started it and saw something about ICU. Well it turns out, the Ubuntu package isn’t up-to-date enough. PHP 6 requires ICU 3.4+. So I had to compile all 8.5mb of that code. Make sure that you run ./configure like this on ICU (according to the one thing I found on google about it, let me know if it works differently) ./configure –prefix=/usr/local/ –disable-threads
Here is what I build my PHP 6.0.0/dev install with:
./configure –program-suffix=6 –with-apxs2=/usr/local/apache2/bin/apxs –enable-openssl –with-zlib –enable-bcmath –with-bz2 –enable-calender –with-curlwrappers –enable-dba –with-inifile –with-flatfile –enable-exif –enable-ftp –with-gd –with-gettext –enable-mbstring –with-mcrypt –with-mhash –with-mime-magic –with-mysql –with-mysqli –with-unixODBC=/usr/ –with-readline –with-mm –enable-soap –enable-sockets –enable-sysvshm –with-tidy –with-xsl –with-icu-dur=/usr/local –disable-mbregex
Now, I’m off to mess with my long wanted namespaces in PHP.
Del.icio.us
Digg