user504136
user504136

Reputation: 195

Is implementing fastcgi using C++ feasible?

Webserver(Apache2/ngnix) + PHP(fastcgi) + MySQL

The above combination is common.

How about using C++ instead of PHP? As there is a C++ driver for MySQL, so database connection won't be a big problem. But how to implement the fastcgi in C++? Is looking at php-fpm a good starting point?

Anyone with similar experience please share.

Thanks.

Upvotes: 3

Views: 925

Answers (3)

Jay
Jay

Reputation: 14481

"Ablaze is a FastCGI web application development framework for C++ designed for efficiency, high throughput and lightning response time."

Upvotes: 1

Mahmoud Al-Qudsi
Mahmoud Al-Qudsi

Reputation: 29579

Perhaps it might be easier to write a C++ extension for PHP that has all your code in it. That way, you can use the PHP fastcgi engine but your entire webapp bypasses PHP (the language and the compiler) entirely.

Upvotes: 1

Related Questions