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.
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.