Script for installing PHP 7.2 on a Raspberry Pi
This script installs dependencies and then builds PHP 7.2 on a Rasperry Pi.
Run: compile-php.sh
--help to see options.
Otherwise:
- Download the latest version of PHP to /usr/src/, and extract.
- Symlink that directory to /usr/src/php/
- Copy
compile-php.sh
file into that directory. - Set executable and run.
Tested and developed on:
Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.9 (stretch) Release: 9.9 Codename: stretch
Your mileage may vary.