Skip to content

bbarringer/php-webserver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WebServer with PHP extension

  • httpparser: A PHP extension for the C http parser from Ruby's Mongrel web server.
  • swoole: PHP's asynchronous & concurrent & distributed networking framework.

Installation

swoole extension

pecl install swoole

http_parser extension

cd ext
phpize
./configure
make
sudo make install

Also add the following to your php.ini file:

extension=swoole.so
extension=httpparser.so

Run

php webserver.php

Credits

The http parser is from Mongrel http://mongrel.rubyforge.org by Zed Shaw. Mongrel Web Server (Mongrel) is copyrighted free software by Zed A. Shaw You can redistribute it and/or modify it under either the terms of the GPL.

The swoole is from http://pecl.php.net/package/swoole.

About

WebServer with PHP extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 70.5%
  • PHP 16.2%
  • Other 13.3%