D
D
DSmith2019-05-02 20:50:45
PHP
DSmith, 2019-05-02 20:50:45

PHP and pthreads. How not to spawn mysql connections?

Whether prompt it is possible using pthreads in php for a multithreading to use only one connection?
Or should each thread have its own connection? But then this does not solve the problem with a large number of connections to the database?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lazy @BojackHorseman PHP, 2019-05-03
Tag

no pthreads no problem ©

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question