Per Jessen schreef:
Floor Terra wrote:
I know how to do multiple queries - the key issue in my question
was how to do them concurrently (i.e. in parallel).
So you want to make PHP multithreaded???
No, just the mysql queries.
Try pcntl_fork() to create a child process for each query.
Each child can make it's own MySQL connection.
Hmm, interesting idea. I wonder if that'll work under apache?
you'll end up forking a complete apache process - assuming mod_php.
you don't want that.
but then I don't think you want 30+ second queries being run via apache
at all :-)
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php