check php location for script