首页
下载
文档
社区
视频
捐赠
源代码
赞助商
AOT 编译器
AI 助理
商业产品
PHP AOT 原生编译器
Swoole-Compiler 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
求助。我编译了不下20次,代码还是无法运行
先说下:我的环境: ubunut 14lts php7.0.4 gcc 4.8.4 我尝试了两种方法: 一种是pecl方式安装 一种是编译安装, make test ,,,,爆出: Warning: PHP Startup: Unable to load dynamic library '/vagrant/ext/swoole-src-swoole-1.8.4-stable/modules/swoole.so' - /vagrant/ext/swoole-src-swoole-1.8.4-stable/modules/swoole.so: cannot open shared object file: No such file or directory in Unknown on line 0 我把swoole.so 放到php的扩展目录,,,phpinfo显示是加载了。 但是执行代码却说: PHP Fatal error: Uncaught Error: Class 'swoole_server' not found in /vagrant/www/server/server.php:4 我要疯了。。。。
发布于9年前 · 0 次浏览 · 来自
提问
M
MORTAL
先说下:我的环境: ubunut 14lts php7.0.4 gcc 4.8.4 我尝试了两种方法: 一种是pecl方式安装 一种是编译安装, make test ,,,,爆出: Warning: PHP Startup: Unable to load dynamic library '/vagrant/ext/swoole-src-swoole-1.8.4-stable/modules/swoole.so' - /vagrant/ext/swoole-src-swoole-1.8.4-stable/modules/swoole.so: cannot open shared object file: No such file or directory in Unknown on line 0 我把swoole.so 放到php的扩展目录,,,phpinfo显示是加载了。 但是执行代码却说: PHP Fatal error: Uncaught Error: Class 'swoole_server' not found in /vagrant/www/server/server.php:4 我要疯了。。。。
赞
0
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
登录
后参与评论
评论
2017-08-24
c
chen
我发现我错了,没仔细看首页的例子。。。。
赞
0
回复