[CentOS] Systemd, PHP-FPM, and /cgi-bin scripts

Fri Apr 26 07:38:46 UTC 2019
Markus Falb <markus.falb at fasel.at>

On 24.04.19 17:40, Benjamin Smith wrote:
> On Wednesday, April 24, 2019 3:44:04 AM PDT Leon Fauster via CentOS wrote:
>>> Am 24.04.2019 um 08:37 schrieb Benjamin Smith <lists at benjamindsmith.com>:
>>> So I wrote a /cgi-bin script that works, takes the input, and even runs
>>> the
>> Why not implementing this directly as "PHP"-script
>> that runs via php-fpm and not via "standard" CGI?
> Because "normal" php processes all of POST data in memory and is thereby 
> constrained to the limit of available memory. Typically in the range of a few 
> MB. This makes it impossible to upload LARGE files, EG 100s of MB or GBs in 
> size. 

I think it is possible, but has side effects.

Kind Regards, Markus Falb