That is my last test. I tried now on my own computer where CGI and ODBC work.
1- If I use Easyphp. The script work using CGI
2- If I stop easyphp and install apache separatly and test my cgi script. it's failed (no connection database).
On easyphp apache and apache server, they use the same user :
User daemon
Group daemon