php7 phalcon,GitHub - shyn0121/cphalcon7: Phalcon7 - Web framework for PHP7.x 高性能PHP7框架
Phalcon7(Dao7) Framework
Phalcon7 is a web framework implemented as a C extension offering high performance and lower resource consumption.
Phalcon7 是什么?
Phalcon7 是继承自 Phalcon 1.3.x,开源、全功能栈、使用 C 编写、针对 PHP 7 优化的高性能框架。
开发者不需要学习和使用 C 语言的功能, 因为所有的功能都以 PHP 类的方式暴露出来,可以直接使用。
Phalcon7 源自 Phalcon 所以具备了 Phalcon 所有与生俱来的特性,是松耦合的,可以根据项目的需要任意使用其他对象。
Phalcon7 不只是为了卓越的性能, 我们的目标是让它更加健壮,拥有更加丰富的功能以及更加简单易于使用!
Phalcon7 版权申明
Phalcon7 作为 Phalcon 1.3 系列的继承者,所以版权理所当然的属于 Phalcon 官方团队所有。
Get Started
Phalcon7 is written in C with platform independence in mind. As a result, Phalcon7 is available on GNU/Linux, and Mac OS X. You can build it from sources.
Linux/Unix/Mac
On a Unix-based platform you can easily compile and install the extension from sources.
Requirements
Prerequisite packages are:
PHP 7.0.x development resources
GCC compiler (Linux/Solaris) or Xcode (Mac)
Ubuntu:
# if enable qrcode
sudo apt-get install libqrencode-dev libzbar-dev imagemagick libmagick++-dev libmagickwand-dev libmagickcore-dev libpng12-dev
sudo ln -s /usr/include/ImageMagick-6/ /usr/include/ImageMagick
sudo add-apt-repository ppa:ondrej/php
sudo apt-get install php7.1-dev libpcre3-dev gcc make
# or compilation
----------------
cd php-src
./buildconf --force
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-fpm-user=www-data --with-fpm-group=www-data --with-pdo-pgsql --with-pdo-mysql --with-pdo-sqlite --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring --with-mcrypt --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --enable-zip --without-pear --with-gettext --disable-fileinfo --enable-maintainer-zts --enable-phpdbg-debug --enable-debug
make -j4
sudo make install
# class Phalcon\Async : --enable-sysvsem --enable-pcntl
Mac OS:
brew install pkg-config
brew install imagemagick
ln -s /usr/local/Cellar/imagemagick/6.9.7-0/include/ImageMagick-6/ /usr/local/Cellar/imagemagick/6.9.7-0/include/ImageMagick
brew install php70
Compilation
Follow these instructions to generate a binary extension for your platform:
git clone git://github.com/dreamsxin/cphalcon7.git
cd cphalcon7/ext
phpize
./configure
# or custom php path
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
# or debug
./configure CFLAGS="-g3 -O0 -std=gnu90 -Wall -Werror -Wno-error=uninitialized"
make -j4
sudo make install
Other options:
./configure --enable-chart=yes --enable-qrcode=no --enable-process=yes \
--enable-intrusive=yes --enable-cache-yac=yes \
--enable-storage-btree=yes --enable-storage-wiredtiger=yes \
--enable-storage-bloomfilter=yes --enable-storage-datrie=yes \
--enable-storage-lmdb=yes --enable-storage-libmdbx=yes \
--enable-storage-leveldb=yes --enable-websocket=yes \
--enable-server=yes --enable-python=yes
make -j4
sudo make install
Add the extension to your php.ini:
extension=phalcon.so
Test:
php --ri phalcon7
cd cphalcon7
composer install
vendor/bin/phpunit unit-tests
Finally, restart the webserver.
Current Build Status
Phalcon7 Framework is built under the Travis CI service. Every commit pushed to this repository will queue a build into the continuous integration service and will run all PHPUnit tests to ensure that everything is going well and the project is stable. The current build status is:
External Links
License
Phalcon7 is open source software licensed under the New BSD License. See the docs/LICENSE.txt file for more information.
Phalcon7 is the successor to the Phalcon 1.3 series, so the copyright belongs to the Phalcon team.
php7 phalcon,GitHub - shyn0121/cphalcon7: Phalcon7 - Web framework for PHP7.x 高性能PHP7框架相关推荐
- uAdmin the Golang Web framework
2019独角兽企业重金招聘Python工程师标准>>> A little over two years ago, I started looking for a web framew ...
- 介绍一个python的新的web framework——karloop框架
karloop是一款轻型的web framework,和tornado.webpy类似.mvc分层设计,眼下已经公布早期版本号了,使用方便, 下载地址例如以下:https://github.com/k ...
- Jena 简介:通过 Jena Semantic Web Framework 在 Jave 应用程序中使用 RDF 模型
简介: RDF 越来越被认为是表示和处理半结构化数据的一种极好选择.本文中,Web 开发人员 Philip McCarthy 向您展示了如何使用 Jena Semantic Web Toolkit,以 ...
- 通过 Jena Semantic Web Framework 在 Jave 应用程序中使用 RDF 模型 (转)
RDF 越来越被认为是表示和处理半结构化数据的一种极好选择.本文中,Web 开发人员 Philip McCarthy 向您展示了如何使用 Jena Semantic Web Toolkit,以便在 J ...
- 通过 Jena Semantic Web Framework 在 Jave 应用程序中使用 RDF 模型
http://www.ibm.com/developerworks/cn/java/j-jena/ RDF 越来越被认为是表示和处理半结构化数据的一种极好选择.本文中,Web 开发人员 Philip ...
- 【- Flutter Web篇 -】 FlutterUnit web版闪亮登场 ,android网络层框架设计实战
由于我的小破站是在太慢了,使以放在gitee Page 部署,文中也会介绍部署流程. 网站是: http://toly1994328.gitee.io/flutter_web ,点击这里跳转 来一张F ...
- ASP.NET企业开发框架IsLine FrameWork系列之十--ExceptionProcessProvider异常框架(下)
ASP.NET企业开发框架IsLine FrameWork系列之十--ExceptionProcessProvider异常框架(下) 接上文 异常展示 系统异常模块除了记录功能,还有一个很 ...
- ASP.NET企业开发框架IsLine FrameWork系列之九--ExceptionProcessProvider异常框架(上)
ASP.NET企业开发框架IsLine FrameWork系列之九--ExceptionProcessProvider异常框架(上) 接上文 IsLine.ExceptionProcess.Excep ...
- html rpc文档,HTML5 DRM 正式成为 Web 标准,百度正式开源RPC框架brpc
不顾近30%的成员反对,W3C(万维网联盟)正式宣布将加密媒体扩展(EME)--即集成DRM数字版权保护的API纳入HTML5建议标准. 自由软件基金会反对DRM的原因在于,如果在HTML5标准中加入 ...
最新文章
- python数据库教程_python教程:数据库
- Spring data redis 异常
- matlab的index函数,写论文第九天:MATLAB之rsindex函数
- hbase shell 查看列名_hbase shell 命令行的操作
- Python文件操作中进行字符串替换(保存到新文件/当前文件)
- Mybatis报错: Invalid bound statement (not found)...
- 【重磅】ArcGIS 10.8手把手经典图文安装教程(附安装包全套装下载,亲测可用)
- SQL SERVER 数据库主键和外键的思考
- python 进制间相互转换
- 记一次Alluxio HA master启动失败
- 从开发到发布一款基于Vue2x的图片预览插件
- 字符替换 英文字符串单词个数统计 python123题解
- 反馈抑制器设计的技术要点
- phython day1
- CTF-杂项与密码学总结
- 抖音壁纸小程序,星光壁纸小程序2.0版本,升级版
- CPA二十一--划出和追加保证金(转载)
- VSCode配置Swift 开发环境
- 外挂制作之思路总结和基址与偏移量
- 取得system权限
热门文章
- Python之数据载入、存储及文件格式
- mysql查询数据库结构_mysql查询数据库下的表结构
- Android8.1 MTK平台 Dialer修改(来电全屏、归属地显示)
- 基于51单片机的温度报警系统(程序分装)
- 湘潭大学计算机考研复试题,湘潭大学信息工程学院2019年考研复试程序设计练习题...
- Leetcode 组合总和问题
- rj45管脚定义_“RJ45接口”定义标准是什么?
- SpringCloud多线程链路追踪
- pmp直方图与帕累托图的区别_PMP-项目质量管理
- 阿木实验室的一个专门教程的网站(现在知道这是P200的wiki地址)