Conditionally adds mysql socket path to php.ini