When phpize compiles and installs memcached, every time the lnmp server is restarted, the memcached extension is lost?
高洛峰
高洛峰 2017-05-27 17:42:19
0
1
867

There is already a memcached extension in my lnmp environment, but every time my server is restarted, my memcached extension is gone. I need to restart nginx and php-fpm before my memcached extension will come out. I wonder if anyone has encountered this situation.

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(1)
Peter_Zhu

What does it mean that the extension is gone? State it clearly?
My understanding
1. Restart (start) the server
2. Start nginx + php-fpm (the server has restarted, nginx must be started, not restarted)
Then run the php program
This is a necessary two-step process process, and according to what you said, memcached is there, and then there will be no problem.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template