Horde Webmail error


If you are getting the following error on Horde webmail interface:

Warning: Failed opening ‘Net/Socket.php’ for inclusion(include_path=’.:/usr/share/pear’) in /usr/share/pear/Net/SMTP.php on line 93

Fatal error: Cannot instantiate non-existent class: net_socket in
/usr/share/pear/Net/SMTP.php on line 95


Check if the Pear package Net_Socket is present on the server:

pear list|grep Net_SocketNet_Socket           1.0.8   stable

If not present, install it.

pear install Net_Socket

If it is already present, check if the file Socket.php is present in /usr/share/pear/Net/ folder. Most probably this will be missing.

If so download the package Net_Socket. Extract the tar file and copy the file Socket.php from the package to /usr/share/pear/Net/

wget http://download.pear.php.net/package/Net_Socket-1.0.8.tgztar -xzvf Net_Socket-1.0.8.tgz

cd Net_Socket-1.0.8

cp Socket.php /usr/share/pear/Net/

Check Horde Webmail now.


Both comments and pings are currently closed.

Comments are closed.