Add fpm support for php 5.2

Adds fpm support for php 5.2 and hides mkdir error on resource
I know, but somehow I get an error...