We've a customer who is running PHP 5.2.10 and is having problems using the fsocket() function to connect to an external (or even the same cPanel server). They're getting something along the lines of:

> if ( $connection = fsockopen(
> $currentHost,
> 25 ) ) {' causes error as follows
> Warning: fsockopen() [function.fsockopen]: unable to connect to
> popserver:25 (Connection timed out) in
> 12009.07.09 13:20:03 - Failed to create socket

Everything seems to be okay with the PHP set-up and even has the relevant OpenSSL libraries installed in case the external server requires such a connection.

M.