January 13th, 2012 by Merlijn
Cannot find save handler ‘memcached’ – session startup failed in etc.
Seeing this error after upgrading PHP to 5.3.9 on FreeBSD?
Reinstalling pecl-memcached solves this.
$ cd /usr/ports/databases/pecl-memcached
$ make deinstall
$ make distclean
$ make install
then restart the webserver.
Tags: freeBSD, PHP
Posted in General | No Comments »
June 22nd, 2011 by Merlijn
Part 1: Introduction
This is the first of a series of blogposts of my experiences with enabling IPv6 on my co-located network.
In may 2011 I attended the Dutch PHP Conference where David Soria Parra spoke about IPv6 for PHP developers.
His talk triggered me to actually start implementing IPv6.
I am lucky enough to have a very IPv6 aware ISP who provides a native IPv6 connection to my home account. This enables me to have a dual stack (both IPv4 as IPv6) internet connection for testing.
For the co-location, I only had to sent an email requesting an IPv6 range.
Be aware however! I didn’t ask for a specific range/subnet and they gave me a /64 network.
NOT GOOD!
The smallest possible subnet in IPv6 is /64.
This means a /64 cannot be subdivided in smaller subnets. The IPv6 bitmask/subnet ninja’s are able to explain this doesn’t make sense.
If you want a little bit more as advanced network setup, think a firewall with multiple subnets on your inside interface… you WILL need a bigger address-space as /64.
So I sent them a new email requesting for a /48, which I got 5 minutes later.
A /48 subnet makes it possible to create 65k and a little bit more /64 subnets… which should be enough for small networking needs.
(and yes… that is an understatement).
So… native IPv6 connection at home, address space available for the co-location site… Let the games begin.
(part 2, PIX/ASA configuration will be next.)
Tags: Cisco, IPv6, migration
Posted in General | Comments Closed
April 27th, 2011 by Merlijn
BINNENLAND De politie gebruikt gegevens van TomTom om plekken voor snelheidscontroles te bepalen en locaties voor flitspalen te kiezen. Dat meldt het AD vandaag. Lees verder op NRC.nl
Tags: 1984, politie, tomtom
Posted in General | Comments Closed
April 13th, 2011 by Merlijn
A change in PHPunit 3.5 slipped my attention. For the code-coverage as reported by PHPUnit, the following tag is ignored by PHPunit 3.5:
* @codeCoverageIgnoreStart
but:
// @codeCoverageIgnoreStart
does work as expected.
Tags: Code-coverage, PHP, PHPUnit
Posted in General | Comments Closed
April 6th, 2011 by Merlijn
Seeing errors like this?
Apr 5 12:32:04 socrates ?<11>email2trac : Failure sending notification on creation of ticket #1101: Can't extract file(s) to egg cache The following error occurred while trying to extract file(s) to the Python egg cache: [Errno 13] Permission denied: '/nonexistent' The Python egg cache directory is currently set to: /nonexistent/.python-eggs Perhaps your account does not have write access to this directory? You can change the cache directory by setting the PYTHON_EGG_CACHE environment variable to point to an accessible directory.
The errormessage gives the solution:
mkdir /tmp/trac/
chown www:www /tmp/trac/
Add the env statement to the virtualhost configuration:
SetEnv PYTHON_EGG_CACHE "/tmp/trac/"
restart apache, problem solved.
Tags: email2trac, freeBSD, python, trac
Posted in General | Comments Closed