php apache mysql How do they establish connections between them? Does the number of connections affect each other?
巴扎黑2017-05-16 13:04:59
Let’s start with some ideas
Concurrency in lamp is determined by the number of connections in mysql and the number of connections in apache.
phpcn_u15822017-05-16 13:04:59
1. How many phps apache calls up to serve depends on your apache configuration and php configuration. You can find out by searching for php-fpm related knowledge.
2. php -> mysql, it depends on what php framework you use and whether you have an independent database broker service. Generally it is one to one.