fix of issue under nginx and php-fpm

I think, this commit is final for issue #115.