php:buildphpapachenginxfromsource
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| php:buildphpapachenginxfromsource [2020/08/29 10:33] – [Build PHP with php-fpm] admin | php:buildphpapachenginxfromsource [2024/10/28 05:24] (current) – [Basic config] admin | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| yum install gcc-c++ | yum install gcc-c++ | ||
| yum install automake | yum install automake | ||
| + | yum install make | ||
| </ | </ | ||
| ===== Build and config PHP and Nginx ===== | ===== Build and config PHP and Nginx ===== | ||
| Line 296: | Line 297: | ||
| make & make install | make & make install | ||
| cp php.ini-production / | cp php.ini-production / | ||
| + | </ | ||
| + | === Build PHP7.4 with php-fpm === | ||
| + | <code bash> | ||
| + | ./configure --prefix=/ | ||
| + | </ | ||
| + | configure: error: Package requirements (oniguruma) were not met | ||
| </ | </ | ||
| === Script start php-fpm === | === Script start php-fpm === | ||
| Line 1088: | Line 1095: | ||
| session.save_path = "/ | session.save_path = "/ | ||
| upload_max_filesize = 20M | upload_max_filesize = 20M | ||
| - | post_max_size = 8M | + | post_max_size = 20M |
| </ | </ | ||
| ==== PHP check ==== | ==== PHP check ==== | ||
php/buildphpapachenginxfromsource.1598697209.txt.gz · Last modified: (external edit)
