Does my server have PHP Sockets? -


is there anyway tell if server has php sockets? script i'm using says needs them. have installed php5.

thanks.

an elegant way programmatically check php sockets support use get_loaded_extentions() method:

if (in_array('sockets', get_loaded_extensions()) {     // continue } else {     die ('no socket support.'); } 

your script way too. can inspect output phpinfo(); sockets extension.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -