Archive for May 2012

Xorg: Different options for different keyboards

So I have this esoteric problem that I have 2 totally different keyboards. The Happy Hacking Pro 2 (HHK) and the Realforce 103U. The happy hacking has a special, SUN inspired layout with the control key where standard keyboards usually have their caps. My Realforce 103U has a standard US layout. I am big fan [...]

Canonical Way to Build PHP 5.4 on Solaris 11

You need gnu-coreutils installed. $ wget -O php.tar.bz2 http://us.php.net/get/php-5.4.3.tar.bz2/from/this/mirror $ tar xvjf php.tar.bz2 $ cd php-5.4.3 $ ./configure \ –with-apxs2=/usr/apache2/2.2/bin/apxs \ –prefix=/usr/php/5.4 \ [other options] $ gsed -ibak ‘s,\-mt,,’ Makefile $ gsed -i.bak ‘s,\-i \-a \-n php5 libphp5\.la,-i -n php5 libphp5.la,’ Makefile $ make -j4 $ sudo make install $ vim /etc/apache2/2.2/conf.d/php5.2.conf ..change stuff to [...]