May 20th, 2012 by Lars-Georg Paulsen
Got a problem updating php5-extensions via portupgrade?
There is a dependency that shouldn’t be there, that is messing up the automatic upgrade of php5-extensions.
php5-sqlite is the sinner!
#pkg_deinstall php5-sqlite -f
—> Deinstalling ‘php5-sqlite-5.3.13′
pkg_delete: package ‘php5-sqlite-5.3.13′ is required by these other packages
and may not be deinstalled (but I’ll delete it anyway):
php5-extensions-1.6
#pkgdb -F
—> Checking the package registry database
Stale dependency: php5-extensions-1.6 -> php5-sqlite-5.3.13 (databases/php5-sqlite):
-> Deleted. (irrelevant)
Tags: FreeBSD, php5-extensions, php5-extensions-1.6, php5-extensions-1.7, php5-sqlite, portupgrade
Posted in FreeBSD | No Comments »
May 16th, 2012 by Lars-Georg Paulsen
My current hosting provider has kindly provided me with a /64 IPv6 Net. Time to get connected!
The normal wiki entry doesn’t include a FreeBSD setup, and after a couple tries, and google on my side is still couldn’t get it working.
A couple of emails later to support asking for help, they kindly informed me that they had given me the wrong net…..
Changed my Net, and I was running IPv6.. Yeah!
So what did I do to get a working IPv6 connectivity when your have been given a /64 net, and your default gw is on another subnet.
Edit the following files, and add some information.
I used the following example information
My Network: 2001:DB8:100:1
My Gateway: 2001:DB8::1
/etc/rc.conf ==>
#IPv6
ipv6_enable="YES"
ipv6_ifconfig_re0="2001:DB8:100:1"
ipv6_static_routes="gwNet gwHost"
ipv6_route_gwNet="2001:DB8::1/128 -iface re0"
ipv6_route_gwHost="2001::/3 2001:DB8::1 -iface re0"
ipv6_default_interface="re0"
Tags: FreeBSD, IPv6
Posted in FreeBSD, Network | No Comments »
March 12th, 2012 by Lars-Georg Paulsen
I’m taking my php skils to the next level… Writing good php application from the bottom is to much work, and what do programmers do best? They reuse code.. My initial thought was, get something I can build on top. But in my research I came across a lot of php framework that really looked promising. Some basic testing and the mandatory “hello world” -app, and too much reading of review on the web, my conlusion has come to this rating. Best on the top.

- CodeIgniter
- Kohana
- Zend Framework
- CakePHP
- Symfony
This is as subjective as it can get…. It all depends on what kind of background skills you have and what type of projects your are going to develop. My choice was Yii, not sure if it’s gonna be your choice.
Tags: cakephp, codeigniter, framework, kohana, php, symfony, yii, zend
Posted in Development | No Comments »