Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PHP Install #15

Open
zdavis opened this issue Oct 1, 2020 · 0 comments
Open

Improve PHP Install #15

zdavis opened this issue Oct 1, 2020 · 0 comments
Assignees

Comments

@zdavis
Copy link
Member

zdavis commented Oct 1, 2020

We should ensure that zlib, bzlib, tidy-html, libiconv, readline, and libedit are installed in https://github.com/castiron/homebrew-bootstrap/blob/master/cmd/brew-bootstrap-project-all.

We should add a configure command in the brew-bootstrap-project-php file for sane PHP installation. This worked for me on clean catalina:

CONFIGURE_OPTS="--with-zlib-dir=$(brew --prefix zlib) --with-bz2=$(brew --prefix bzip2) --with-readline=$(brew --prefix readline) --with-libedit=$(brew --prefix libedit) --with-iconv=$(brew --prefix libiconv) --with-tidy=$(brew --prefix tidy-html5)" phpenv install 7.2.24

Our scripts are bash scripts, but new macs use zsh. We probably should standardize on one shell. For the time being, we probably need people to maintain a ~/.zshrc and a ~/.bash_profile that have path set and init nodenv, phpenv, rbenv, etc. If nothing else, let's think about how to address this.

lthurston added a commit that referenced this issue Oct 2, 2020
This addresses part of #15, but not all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants