https://github.com/racklin/phalcon_kernel
Phalcon PHP Framework 's kernel components
https://github.com/racklin/phalcon_kernel
Last synced: 10 months ago
JSON representation
Phalcon PHP Framework 's kernel components
- Host: GitHub
- URL: https://github.com/racklin/phalcon_kernel
- Owner: racklin
- Created: 2012-09-17T01:13:42.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-09-25T04:19:08.000Z (over 13 years ago)
- Last Synced: 2025-04-08T12:51:52.517Z (about 1 year ago)
- Language: C
- Size: 160 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sample C extension base on Phalcon kernel
=====================
Get Started
-----------
### Linux/Unix/Mac
On a Unix based platform you can easily compile and install the extension from
sources.
#### Requirements
We need some packages previously installed.
* PHP 5.x development resources
* GCC compiler
Ubuntu:
sudo apt-get install php5-devel php5-mysql gcc make
Suse:
yast2 -i php5-pear php5-dev libmysqlclient gcc make autoconf2.13
Compilation
-----------
Follow these instructions to generate a binary extension for your platform:
# cd ext/
# export CFLAGS="-O2 -fno-delete-null-pointer-checks"
# phpize
# ./configure --enable-sample
# make
# sudo make install
Add extension to your php.ini
extension=sample.so
Finally restart the webserver
Phalcon PHP Framework
-----------
Phalcon PHP is a web framework delivered as a C extension providing high performance and lower resource consumption.
http://phalconphp.com