Can I share a connection between several scripts or should I re-open it in every script ?
Read the PHP manual about persistnant connections.
Got it, I was stupidely using PHP as a CGI and not an Apache Module, preventing the persistent connection to work (it was soooo slow !).
Thanks for putting my nose on the solution and sorry for asking stupid things.
There are no stupid questions, only stupid people.
Stupid people don't ask questions.