Run PHP on NGINX

Sam Hobbs Sam at SimpleSamples.info
Wed Oct 18 03:03:24 UTC 2023


The original HTML had forms. Forms still exist for HTML. A form can 
specify that a different HTML file be shown when the form is submitted. 
Between the the form submission and the showing of the second HTML file, 
a script, called a CGI script, can be executed to process the form. And 
that is how server-side languages such as PHP are executed. The original 
CGI is inefficient. FastCGI is more efficient. Therefore PHP websites 
execute PHP using FastCGI. Other servers such as Apache and IIS use 
FastCGI or something very similar.


Jeff wrote on 10/17/2023 8:50 AM:
> Can PHP code be run using NGINX?
>
> I am new to web server stuff, so just investigating.
>
> Thanks
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> https://mailman.nginx.org/mailman/listinfo/nginx


More information about the nginx mailing list