Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.58 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.58 KB

The recommended PHP environment for running SimpleFramework.

Features:

  1. Thread Safe
  2. Integrated extensions: sodium, gd and more
  3. Extended extensions: swoole, yaml, pthreads, runkit7 and zip

Build on Linux

Dependencies

  • 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

Install system wide

$ curl -fsSL https://raw.githubusercontent.com/iTXTech/php-build-scripts/master/install.sh | bash

Customize your install script

$ 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

Build on macOS

  1. Install dependencies using homebrew
  2. You will have to specify the location of libraries in install.sh

Windows Binary

See releases

Note that swoole cannot run on Windows, use WSL instead.