• Stars
    star
    316
  • Rank 131,852 (Top 3 %)
  • Language
    C
  • License
    BSD 2-Clause "Sim...
  • Created over 8 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ngx_php - Embedded php scripting language for nginx module. All released versions of the code repository.

ngx_php

Build Status GitHub release license QQ group

ngx_php is an extension module of high-performance web server nginx, which implements embedded php script to process nginx location and variables.

ngx_php draws on the design of ngx_lua and is committed to providing non-blocking web services with significant performance advantages over php-cgi, mod_php, php-fpm and hhvm.

ngx_php doesn't want to replace anything, just want to provide a solution.

Milestones about the project

  • ngx_php5 - A legacy version with php5, which records some of my past code practices and is also valuable.
  • ngx_php7 - An active branch of development where you can get more fresh details.

What's different with official php

  • Global variable is unsafe in per request
  • Static variable of a class is unsafe in per request
  • Do not design singleton mode
  • The native IO function works fine, but it slows down nginx

Copyright and License

ngx_php is licensed under the BSD-2-Clause license.

More Repositories

1

ngx-php

ngx-php - Embedded php7 or php8 scripting language for nginx module. Mainline development version of the ngx-php.
C
482
star
2

ngx_php7_tracker

The branch of ngx_php7, Track php7 script, opcode, function stack for nginx-module.
C
77
star
3

ngx_python

ngx_python - Simple embedded python for nginx-module.
C
47
star
4

ngx_sqlite

ngx_sqlite - Simple embedded sqlite for nginx-module.
C
44
star
5

yaf-lib

基于yaf框架的程序实践
PHP
42
star
6

php-JsonRPC

Lightweight, fast JsonRPC 2.0 client/server of PHP extension,base on multi_curl + epoll of client.
C
37
star
7

lua-resty-jsonrpc-server

JsonRPC 2.0 server for the ngx_lua/openresty
Lua
14
star
8

go-murmurhash

go-murmurhash is Go implementation of murmurhash algorithm.
Go
14
star
9

tea-php

TEA (Tiny Encryption Algorithm) 64 bits value, by 128 bits key , QQ do 16 round for php.
PHP
13
star
10

php-cjson

Fast JSON parsing and encoding support for PHP extension
C
11
star
11

php-murmurhash

MurmurHash function for PHP extension.
C++
9
star
12

MadzMQ

MadzMQ = ZeroMQ & czmq & php-zmq
C
8
star
13

php7-ext-jsonrpc

JsonRPC 2.0 client/server for PHP 7 extension
C
7
star
14

ngx_lmdb

ngx_lmdb - Simple embedded lmdb for nginx-module.
C
4
star
15

weibo_mid

Convert to weibo mid(id) and base62 hash string for php.
PHP
4
star
16

reardrive

Go
4
star
17

ngx_duktape

ngx_duktape - Embedded duktape (an embeddable Javascript engine) for nginx-module.
C
3
star
18

ngx_ruby

ngx_ruby - Simple embedded ruby for nginx-module.
C
3
star
19

pyjieba

Pyjieba is a jieba library written in c++ with python bindings.
C++
3
star
20

ngx_fastphp

C
2
star
21

lua-resty-nsq

Lua
2
star
22

php-yajl

A fast JSON parsing/generation library YAJL in PHP extension
C
2
star
23

php-ext-shurrik

Shurrik is a PHP extension, used for testing PHP kernel
Shell
1
star
24

cython-murmurhash

Cython murmurhash in python.
Python
1
star
25

sweet-clib

C programming language library, sweet is a famours player.
C
1
star