开发者社区> 问答> 正文

phalcon 在 ubuntu 安装中出现的问题?报错

你好,我 安装 phalcon 出现问题

我的系统是ubuntu 14

sudo apt-get install gcc make git-core libpcre3-dev php5-dev
git clone git://github.com/phalcon/cphalcon.git 
cd cphalcon/build
sudo ./install

这几步骤都对,就是 接下来

----------------------------------------------------


Build complete.
Don't forget to run 'make test'.


Installing shared extensions:     /usr/lib/php5/20121212/


Thanks for compiling Phalcon!
Build succeed: Please restart your web server to complete the installation


输入命令 

root@AY140621114718881ea9Z:/home/sun/cphalcon/build# make test
make: *** No rule to make target `test'.  Stop.
root@AY140621114718881ea9Z:/home/sun/cphalcon/build# 

然后我直接在 /etc/php5/cli/php.ini 中加上


extension=phalcon.so

使用命令  php -m

出现报错

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/phalcon.so' - /usr/lib/php5/20121212/phalcon.so: undefined symbol: php_json_decode_ex in Unknown on line 0

我看到了你的帖子

http://www.oschina.net/question/779869_152071

依然没有解决这个问题

请帮助我




展开
收起
爱吃鱼的程序员 2020-06-14 17:33:58 510 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    安装下php的json扩展再试试你看下这个,应该和你一样情况http://www.it165.net/os/html/201312/6845.html非常感谢,问题解决了

    2020-06-14 17:34:14
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
CentOS Nginx PHP JAVA多语言镜像使用手册 立即下载
CentOS Nginx PHP JAVA 多语言镜像使用手 立即下载
Ghost Telephonist 立即下载