Skip to content

Instantly share code, notes, and snippets.

@sylvainfilteau
sylvainfilteau / php.rb
Created May 6, 2012 17:34
Homebrew formula for PHP 5.4.0
require 'formula'
def mysql_installed?
`which mysql_config`.length > 0
end
def postgres_installed?
`which pg_config`.length > 0
end