php socket_create undefined的错误解决办法
来源:互联网 发布:p城办事处 吃鸡优化 编辑:程序博客网 时间:2024/05/03 01:22
使用phpwebsocket的时候编译server.php报这个错误。
首先在cmd中跳转到server.php的目录下执行php server.php(要在系统环境变量中设置path引用到C:\wamp\bin\php\php5.4.3)报这个错误。
根据网上的提示将apache的php.ini的socket和gd2都打开了。在phpinfo()中显示socket为enabled。但是依然报错。
接着又检查了C:\wamp\bin\apache\apache2.2.22\bin\php.ini(已打开socket)。C:\wamp\bin\php\php5.4.3\phpForApache.ini
还是无效。
最后检查了下C:\wamp\bin\php\php5.4.3\php.ini。发现里面的socket根本没打开过。看来apache设置的php.ini应该是C:\wamp\bin\apache\apache2.2.22\bin\php.ini这个文件。
0 0
- php socket_create undefined的错误解决办法
- Call to undefined function socket_create();解决办法!
- PHP-websocket Call to undefined function socket_create
- 关于socket_create 报错,call to undefined function socket_create()的可能的解决方案。
- php 提示Call to undefined function curl_init() 错误的解决办法
- php提示Call to undefined function curl_init() 错误的解决办法
- PHP发生Call to undefined function imagecreate()错误的解决办法
- PHP发生Call to undefined function imagecreate()错误的解决办法
- PHP发生Call to undefined function imagecreate()错误的解决办法
- Call to undefined function socket_create()
- ffmpeg 出现 CODEC_TYPE_VIDEO undefined错误的解决办法
- PHP提示Notice: Undefined variable的解决办法
- PHP提示Notice: Undefined variable的解决办法
- PHP提示Notice: Undefined variable:的解决办法
- PHP 提示undefined index的解决办法
- PHP提示Notice: Undefined variable: 的解决办法
- PHP提示Notice: Undefined variable的解决办法
- PHP提示Notice: Undefined variable的解决办法
- 心情物语
- 选择物体后 选择 镜像 (HFSS中)
- 第四届蓝桥杯模拟题之画表格
- 蓝桥杯基础练习之字母图形(改)
- hdu4313 贪心并查集 || 树形dp
- php socket_create undefined的错误解决办法
- CPU大小端判断
- 详细介绍java中的数据结构
- CSS拾遗
- jsp servlet验证码
- DDMS使用
- 编程练习2
- 游戏为什么让人沉迷于其中呢?
- 关于大小端和union的一道极易错的笔试题