Giter Site home page Giter Site logo

huxiaohe / cphalcon7 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dreamsxin/cphalcon7

0.0 2.0 0.0 41 MB

C语言开发高性能PHP7框架

Home Page: http://www.myleftstudio.com/

Python 0.03% Shell 0.03% Makefile 0.01% C 71.77% C++ 0.66% Yacc 0.47% M4 0.22% Objective-C 0.06% PHP 16.49% CSS 0.01% JavaScript 0.01% HTML 0.02% PLpgSQL 10.22% Volt 0.01%

cphalcon7's Introduction

Phalcon 1.3

Phalcon7 Framework

Phalcon is a web framework implemented as a C extension offering high performance and lower resource consumption.

Get Started

Phalcon is written in C with platform independence in mind. As a result, Phalcon is available on Microsoft Windows, GNU/Linux, and Mac OS X. You can either download a binary package for the system of your choice or 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:

sudo add-apt-repository ppa:ondrej/php-7.0
sudo apt-get install php7-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 --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --disable-fileinfo --enable-maintainer-zts --enable-phpdbg-debug --enable-debug
make -j4
sudo make install

Suse:

sudo zypper install php7-devel gcc make

CentOS/Fedora/RHEL

sudo yum install php-devel pcre-devel gcc make

Compilation

Follow these instructions to generate a binary extension for your platform:

git clone git://github.com/dreamsxin/cphalcon7.git
cd cphalcon7/ext
phpize
make -j4
sudo make install
# or
/usr/local/php/bin/phpize
./configure CFLAGS="-g3 -O0 -std=gnu90 -Wall -Werror -Wno-error=uninitialized" --with-php-config=/usr/local/php/bin/php-config

Add the extension to your php.ini:

extension=phalcon.so

Finally, restart the webserver.

License

Phalcon is open source software licensed under the New BSD License. See the docs/LICENSE.txt file for more information.

cphalcon7's People

Contributors

sjinks avatar dreamsxin avatar niden avatar andresgutierrez avatar kenjikobe avatar xboston avatar myleft avatar cinderella-man avatar marciopaiva avatar jerejones avatar ovr avatar racklin avatar rlaffers avatar maxgalbu avatar mruz avatar odiel avatar lantian avatar igorgolovanov avatar zerkella avatar pdeszynski avatar sescobb27 avatar hdogan avatar iby avatar endeveit avatar remicollet avatar tmihalik avatar flygenring avatar pondermatic avatar viktoras25 avatar ricejasonf avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.