Added support for php in OSX