Forum Moderators: coopster

Message Too Old, No Replies

Socket Functions to be removed as of PHP 5.3.0

         

jatar_k

12:51 pm on Sep 12, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I was just wandering through the socket functions and noticed this

[php.net...]

Note: This extension has been moved to the » PECL repository and is no longer bundled with PHP as of PHP 5.3.0.

will be something to watch for when 5.3.0 is released

vincevincevince

1:00 pm on Sep 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Good observation!

OTOH, the PECL repository is easy to deal with, and you will be able to find RPMs or similar for most major distributions if you prefer not to compile your own PHP.

jatar_k

1:02 pm on Sep 12, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I haven't always found PECL easy to deal with, we actually had a fair bit of trouble tying to get something to work, I wish I could remember what it was, and ended up pitching it.

The trouble being that on a shared host it may be completely unavailable.

vincevincevince

1:06 pm on Sep 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sockets are mostly replacable by cURL and the new XML functions for all the functions I've ever used them fore.

jatar_k

1:09 pm on Sep 12, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I was thinking a move to cURL would be a good option for the most part