Skip to content

Improve PHP Install #15

@zdavis

Description

@zdavis

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions