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!

Recompiling PHP with cURL/PHP

Discussion in 'General Discussion' started by eskimo42, Nov 8, 2007.

  1. eskimo42

    eskimo42 Registered

    Joined:
    Nov 8, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    I have been trying to compile PHP with /scripts/easyapache.
    I have now built PHP/Apache twice and selected the openSSL & curl options. However I am still getting this error with my PHP script:


    Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://www.ups.com:443 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/nalsa/public_html/nalsa/administrator/components/com_virtuemart/classes/shipping/ups.php on line 214


    This is the configure command I see in PHPinfo():

    './configure' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-libxml' '--enable-magic-quotes' '--enable-sockets' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-zlib' '--with-zlib-dir=/usr'

    I don't see openSSL or curl. I do believe /scripts/easyapache is compiling support for ssl into apache, but how come not PHP?

    I hope someone can help me get this all straightened out!

    Thank You,

    Evan
     
  2. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,342
    Likes Received:
    57
    Trophy Points:
    178
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    What versions of Apache and PHP are you compiling? Are you using EA3?

    Mike
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. eskimo42

    eskimo42 Registered

    Joined:
    Nov 8, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Apache 2.2 and PHP 5.2.4
     
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