Closed Thread
Results 1 to 5 of 5

Thread: Use pear : need to enable stream_socket_client()

  1. #1
    grozalou is offline x10Hosting Member grozalou is an unknown quantity at this point
    Join Date
    Apr 2011
    Posts
    3

    Use pear : need to enable stream_socket_client()

    Hello,

    To use pear library, I need to enable stream_socket_client() function.
    Now I get an error message :
    HTTP_OAuth_Exception: Unable to connect to tcp://api.example.com:80. Error: stream_socket_client() has been disabled for security reasons in /home/****/public_html/path/to/pear/PEAR.php on line 113

    Is there a way to solve this problem ?

    Thanks

  2. #2
    grozalou is offline x10Hosting Member grozalou is an unknown quantity at this point
    Join Date
    Apr 2011
    Posts
    3

    Re: Use pear : need to enable stream_socket_client()

    Help !

  3. #3
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,995

    Re: Use pear : need to enable stream_socket_client()

    We can't enable the function if it's been disabled for security; my guess is that function has been disabled due to massive abuse related to botnets and DDoS scripts. You can thank the folks who abuse the service for getting it blocked.


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

  4. #4
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: Use pear : need to enable stream_socket_client()

    If you want to use a PEAR module, you can manually install the core PEAR files and adjust the include path on your scripts.

    stream_socket_client() should be needed only by specific scripts.
    Nothing is always absolutely so.

  5. #5
    grozalou is offline x10Hosting Member grozalou is an unknown quantity at this point
    Join Date
    Apr 2011
    Posts
    3

    Re: Use pear : need to enable stream_socket_client()

    Thanks for your answer.

    I installed pear files on my own space, but I need to use stream_socket_client to use REST APIs...

Closed Thread

Similar Threads

  1. stream_socket_client()?
    By project.arcmatrix87 in forum Free Hosting
    Replies: 0
    Last Post: 07-04-2010, 04:40 PM
  2. Enable stream_socket_client()
    By abhishekkharwar in forum Free Hosting
    Replies: 3
    Last Post: 03-06-2010, 07:17 AM
  3. PEAR/Pear-DB Install request
    By crazzyt9 in forum Free Hosting
    Replies: 0
    Last Post: 06-12-2008, 02:11 AM
  4. Pear?
    By kamcraft in forum Free Hosting
    Replies: 2
    Last Post: 03-19-2008, 09:39 AM
  5. Pear DB
    By Gamer930 in forum Free Hosting
    Replies: 2
    Last Post: 10-07-2007, 11:15 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers