Another attempt at fixing clang error.
Fixed php directory locations.
Fixed invalid function name.