Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

abstract-php.rb should use real homebrew prefix #371

Closed
indeyets opened this Issue Nov 15, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

indeyets commented Nov 15, 2012

Currently, abstract-php.rb has /usr/local hardcoded in couple of places, as homebrew prefix. That's the default prefix, but it's not the only possibility.

$ ack -Q '/usr/local'
abstract-php.rb
251:      args << "--with-mysqli=/usr/local/bin/mysql_config"
252:      args << "--with-mysql=/usr/local"
253:      args << "--with-pdo-mysql=/usr/local"
388:          Mountain Lion comes with php-fpm pre-installed, to ensure you are using the brew version you need to make sure /usr/local/sbin is before /usr/sbin in your PATH:
390:            PATH="/usr/local/sbin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment