The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP 5.2.10 fsocket problems for customer

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

  1. movielad

    movielad Well-Known Member
    PartnerNOC

    Joined:
    May 14, 2003
    Messages:
    107
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    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.
     
Loading...

Share This Page