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@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to