Massive bug fix for using php-path