deepin怎么安装phalcon框架扩展
Tofloor
poster avatar
堃
deepin
2017-08-08 06:06
Author
工作需要,需要安装phalcon框架的php扩展,但是这个扩展安装需要修改安装的sh文件,不知道怎么修改成对应的debian下能安装的
有没有朋友是装过的,请教一下


对应的框架文档
https://phalconphp.com/zh/download/linux

Reply Favorite View the author
All Replies
avatar
sinux
deepin
2017-08-08 17:31
#1
  1. git clone https://github.com/phalcon/cphalcon

  2. cd cphalcon/build
  3. sudo ./install

  4. # Ubuntu/Debian with apache2: Add a file called 30-phalcon.ini in /etc/php5/apache2/conf.d/ with this content:
  5. extension=phalcon.so

  6. # Ubuntu/Debian with php5-fpm: Add a file called 30-phalcon.ini in /etc/php5/fpm/conf.d/ with this content:
  7. extension=phalcon.so

  8. # Ubuntu/Debian with php5-cli: Add a file called 30-phalcon.ini in /etc/php5/cli/conf.d/ with this content:
  9. extension=phalcon.so
Copy the Code
Reply View the author
avatar
jingle
deepin
2017-08-08 18:23
#2
直接加个ppa 试试安装下
Reply View the author
avatar
堃
deepin
2017-08-09 17:21
#3
https://bbs.deepin.org/post/143862
直接加个ppa 试试安装下

ppa?说一下,这个不太懂
Reply View the author
avatar
堃
deepin
2017-08-09 17:22
#4

好的,谢谢啦,我中午试试
Reply View the author