Is the implementation of fastcgi using C ++ possible?

Web server (Apache2 / ngnix) + PHP (fastcgi) + MySQL

The above combination is common.

How to use C ++ instead of PHP? Since there is a C ++ driver for MySQL, so connecting to a database will not be a big problem. But how to implement fastcgi in C ++? Good starting point in php-fpm?

Anyone who has a similar experience, please share.

Thank.

+3
source share
3 answers

It might be easier to write a C ++ extension for PHP that has all your code in it. Thus, you can use the PHP fastcgi engine, but your whole webapp completely bypasses PHP (language and compiler).

+1
source

" Ablaze - - FastCGI ++, , ."

+1

Source: https://habr.com/ru/post/1775622/


All Articles