Ask a question about php-fpm when integrating with nginx .. Phpinfo & nbsp; Display & nbsp; pdo & nbsp; is disable under apache, and PDO is enabled. Under nginx php-fpm also enable & nbsp; PDO Ah ------ solution -------------------- PHP-FPM is actually a PHP source code patch, designed to FastCGI into ask a question about php-fpm
When integrating with nginx .. Phpinfo shows that pdo is disable
In apache, PDO is enabled.
In nginx, php-fpm also enables PDO.
------ Solution --------------------
PHP-FPM is actually a patch of PHP source code, designed to integrate FastCGI process management into the PHP package. You must patch it to your PHP source code before using it after compiling and installing PHP.
I don't believe the FastCGI method is better than the Module method.
------ Solution --------------------
Reference:
It's not because I just compiled -- with-pdo .. Seems to be enabled by default?
It is indeed enabled by default. it is wrong. But -- with-pdo-mysql still needs to be added.
Reference:
PHP-FPM is actually a patch of PHP source code, designed to integrate FastCGI process management into the PHP package. You must patch it to your PHP source code before using it after compiling and installing PHP.
I don't believe the FastCGI method is better than the Module method.
Nginx has a lot of credit