Problem in php 5.6 after removing realpath...