Home > Article > Backend Development > php socket_create调用有关问题
php socket_create调用问题
系统是WIN2003、IIS+PHP+DZ(php5isapi.dll)搭建的环境.
DZX2的论坛完全没问题,但是我手动运行php xxx.php文件时提示socket_create调用失败
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> D:\host\php>php-cgi.exe D:\Host\php\cross.php X-Powered-By: PHP/5.2.5 Content-type: text/html <br> <b>Fatal error</b>: Call to undefined function socket_create() in <b>D:\host\p p\cross.php</b> on line <b>66</b><br> Error in my_thread_global_end(): 1 threads didn't exit D:\host\php>
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> D:\host\php>php.exe cross.php Fatal error: Call to undefined function socket_create() in D:\host\php\cross.php on line 66 D:\host\php>