Skip to main content

Building PHP.md

Building PHP

Ended up aborting this, but the notes might be handy for reference

# Install phpenv
curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer | bash

# setup opensuse tumbleweed, php compiling required packages
sudo zypper install -y -t pattern devel_basis 
sudo zypper install -y libxml2-devel libxslt-devel openssl-devel sqlite3-devel libbz2-devel libcurl-devel libpng-devel libjpeg-devel libicu-devel oniguruma-devel libtidy-devel libzip-devel

phpenv install 8.0.23  

:(

HomeBrew method

$ brew install php@7.3
$ php-version 7.3

#macos #lang/php