Socket access in shared hosting

Discussion in 'Web Hosting' started by JohnAvo, Oct 16, 2009.

  1. #1
    Hi we will need to do outbound socket programming in PHP. Will the code work under shared hosting? Will hosting providers allow it? or maybe some allow? Please advice
     
    JohnAvo, Oct 16, 2009 IP
  2. organicCyborg

    organicCyborg Peon

    Messages:
    330
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Most shared providers I've been with allow this feature. You can always email support and ask, but most of the time it will be enabled by default.
     
    organicCyborg, Oct 16, 2009 IP
  3. pigpromoter

    pigpromoter Well-Known Member

    Messages:
    542
    Likes Received:
    13
    Best Answers:
    1
    Trophy Points:
    165
    #3
    I've seen quite a handful of hosts that don't allow fopen()ing on shared hosting because it bogs down the httpd process. It's best you email them and ask if they support it, as companies don't even show this in their FAQ's.

    Hope this helps.
     
    pigpromoter, Oct 19, 2009 IP
  4. kdenisk

    kdenisk Well-Known Member

    Messages:
    204
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    110
    #4
    A I am using HostGator (link in signature) (shared hosting package) and it allows socket access.
     
    Last edited: Oct 19, 2009
    kdenisk, Oct 19, 2009 IP