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
Post a Comment