Forum Moderators: coopster

Message Too Old, No Replies

Using Sockets in PHP

looking for numbers on hosts enabling PHP sockets

         

Brad_Waller

10:17 pm on Apr 19, 2005 (gmt 0)

10+ Year Member



We're looking at using sockets in a PHP program we are writing and need to know how common it is for them to be enabled. Anyone know?

coopster

11:27 am on Apr 21, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, Brad_Waller.

It all depends on the installation [php.net].

gettopreacherman

3:21 pm on Apr 21, 2005 (gmt 0)

10+ Year Member



I know it usually varies by host. I have had a couple enable them, others don't...and asking them to be enabled is a bear. Coops right, it depends on the install

killroy

4:17 pm on Apr 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you modularize the project properly you should be able to use sockets if avaialbel (for performance) and a work around if not.

SN

Brad_Waller

4:48 pm on Apr 21, 2005 (gmt 0)

10+ Year Member



Thanks all. I think that we will follow Killroy's advice and make it so that it takes advantage of sockets when available and has another option when not.