In my /etc/php.ini file I had this line: extension=pgsql.so (now removed). ; Note: For Red Hat Linux, packaged extension modules are now loaded via ; the ini files in the directory /etc/php.d. # ls -l /etc/php.d -rw-r--r-- 1 root root 51 10 nov 16:40 pgsql.ini # cat /etc/php.d/pgsql.ini ; Enable pgsql extension module extension=pgsql.so Thank you for help! Now it's ok!! Mauro