Install by Compiling
Last updated
Was this helpful?
Last updated
Was this helpful?
Compiling Needs Memory Space!
If the memory space of your device is Lower than 2GB, you had better Create a Swap.
Prepare for the Environment
Download & Install Oniguruma
Add user for FPM
Pre-Compile
Here are the recommanded options(FPM included):
These MySQL options is optional. The Directories and Configs depend on your env. (MySQL here installed by DNF)
Compile & Install
Finish Config
Copy Config File to the Install Directory
Add Php to systemd as a service(Recommanded, make it ez to manage) About the usage of systemd,Check systemd#BasicUsage
Edit PID Location
Write the systemd script
Then, add the content.
Reload systemd
Enjoy it!