Just curious to know, is there any other alternative to cgi/fastcgi?
Best Answer
Depends what you want to do.
Apache (by default) does not rely on CGI/FASTCGI to execute PHP, Perl or whatever code you want. It integrate the execution of the server side code inside its own processes.
It's probably more simply, but also heavier.
So, if you question is: Is there an alternative to FASTCGI to execute server side code outside of the webserver process ? Then I believe the answer is no if you are coding in PHP, Perl or C.
Not sure if you're still trying to figure this out, but you need to edit your httpd.config.
You should be able to find it at the following location if you are on a VPS or dedicated server.
/etc/httpd/conf/httpd.config
find where it looks like this.
Usually surounded by "do not edit this"
Best Answer
Depends what you want to do. Apache (by default) does not rely on CGI/FASTCGI to execute PHP, Perl or whatever code you want. It integrate the execution of the server side code inside its own processes. It's probably more simply, but also heavier.
So, if you question is: Is there an alternative to FASTCGI to execute server side code outside of the webserver process ? Then I believe the answer is no if you are coding in PHP, Perl or C.