Fixed wrong path and typos.
Added option for php5 error log.