ホームページ >バックエンド開発 >PHPチュートリアル >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.phpX-Powered-By: PHP/5.2.5Content-type: text/html<br><b>Fatal error</b>: Call to undefined function socket_create() in <b>D:\host\pp\cross.php</b> on line <b>66</b><br>Error in my_thread_global_end(): 1 threads didn't exitD:\host\php>
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->D:\host\php>php.exe cross.phpFatal error: Call to undefined function socket_create() in D:\host\php\cross.php on line 66D:\host\php>