In order to run the program, make sure that the first line #!/usr/local/bin/php –q is the location of the PHP CLI (or CGI) binary. You will need to change the mode so it is executable (chmod 755 socket_server.php – where socket_server.php is the name of the file) and run it using ./socket_server.php from the command line.
12.gif (12.52 KB, 下载次数: 29)
出错提示
13.gif (9.73 KB, 下载次数: 26)
安然无恙
原帖由 52linux 于 2006-4-25 10:36 发表
php -m |grep -v Sockets
QQ 733905
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |