问个关于php-fpm的有关问题

WBOY
Release: 2016-06-13 13:00:50
Original
1009 people have browsed it

问个关于php-fpm的问题
在与nginx整合的时候。。phpinfo 显示 pdo 是disable的

在apache下,PDO是开启的。

在nginx下php-fpm也开启 PDO啊
------解决方案--------------------
PHP-FPM其实是PHP源代码的一个补丁,旨在将FastCGI进程管理整合进PHP包中。必须将它patch到你的PHP源代码中,在编译安装PHP后才可以使用。

打死我也不相信 FastCGI 方式要比 Module 方式好
------解决方案--------------------

引用:
不是 我刚才试着编译了下 --with-pdo 没这个。。貌似默认开启?

的确是默认开启,是我记错了。但 --with-pdo-mysql 还是需要加上的。

引用:
PHP-FPM其实是PHP源代码的一个补丁,旨在将FastCGI进程管理整合进PHP包中。必须将它patch到你的PHP源代码中,在编译安装PHP后才可以使用。

打死我也不相信 FastCGI 方式要比 Module 方式好

Nginx有很大功劳
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!