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.

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:
    1
    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,279
    Likes Received:
    36
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    What versions of Apache and PHP are you compiling? Are you using EA3?

    Mike
     
  3. eskimo42

    eskimo42 Registered

    Joined:
    Nov 8, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Apache 2.2 and PHP 5.2.4
     
Loading...

Share This Page