PHP SSL Socket Server

i want to make simple SSL Socket server in php. I’ve copied a script from http://blog.leenix.co.uk/2011/05/howto-php-tcp-serverclient-with-ssl.html but i cant make it to work. Getting error: SSL …