Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PHP 5.2.10 fsocket problems for customer

Discussion in 'General Discussion' started by movielad, Aug 4, 2009.

  1. movielad

    movielad Well-Known Member

    Joined:
    May 14, 2003
    Messages:
    109
    Likes Received:
    2
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice