Build PHP for SimpleFramework
The recommended PHP environment for running SimpleFramework.
Features:
- Thread Safe
- Integrated extensions:
sodium
,gd
and more - Extended extensions:
swoole
,yaml
,pthreads
,runkit7
andzip
-
For Debian-based distros:
libssl-dev autoconf pkg-config curl libedit-dev libsqlite3-dev libxml2-dev libcurl4-openssl-dev libyaml-dev libzip-dev libgmp-dev libsodium-dev libjpeg-dev libpng-dev libwebp-dev libfreetype6-dev
-
For RPM-based-distros:
autoconf pkg-config curl libedit-devel libsqlite3-devel libxml2-devel libyaml-devel libcurl-devel libzip-last-devel gmp-devel
and more -
If you are using Ubuntu 17.04, configure can not locate the libcurl, so you need to
sudo ln -s /usr/include/x86_64-linux-gnu/curl /usr/include
$ curl -fsSL https://raw.githubusercontent.com/iTXTech/php-build-scripts/master/install.sh | bash
$ wget https://raw.githubusercontent.com/iTXTech/php-build-scripts/master/install.sh
$ nano install.sh #modify something, like changing DL to aria2c -s16 -x16
$ bash install.sh
- Install dependencies using homebrew
- You will have to specify the location of libraries in
install.sh
See releases
Note that swoole
cannot run on Windows, use WSL instead.