You need to enable the entension in php.ini.
First, uncomment the reference to the .dll.
Code:
;extension=php_pgsql.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
extension=php_sockets.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_w32api.dll
;extension=php_xmlrpc.dll
Then make sure that the extension dll exists in the extension directory, which is set via the extension_dir directive.
Code:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"
Restart your HTTP server after ini modifications, and the function should work.
(Most common PHP extensions are shipped in the .zip download of PHP)
HTH!
Regards,
Rich
--
[
http://www.smilingsouls.net]
[
http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail