PHP Classes

bib_server: Web server in pure PHP

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 1,523 All time: 2,572 This week: 73Up
Version License PHP version Categories
bib_server 1.0Freeware4.0Networking, HTTP, Unix
Description 

Author

This class implements a Web server written in pure PHP.

It starts listening to TCP connections on a given IP address and port.

When a client browser connects to the specified port, the class handles the connection request, forks a new process to retrieve request data, parse the request, and generates the response.

Currently it can handle requests for static files or requests to be handled by PHP scripts.

The class can write extensive debugging output to a log file.

Innovation Award
PHP Programming Innovation award nominee
September 2007
Number 3


Prize: One subscription to the PDF edition of the magazine by PHP Architect
PHP is mostly used as a module of a Web server like Apache or Microsoft IIS. That does not mean that PHP could not be used to handle HTTP requests itself without relying on a separate Web server.

This class proves that it is possible to implement a Web server daemon written in pure PHP.

It makes possible to distribute PHP applications that run locally using a regular browser to access a local Web server implemented by this class.

Manuel Lemos
Picture of Fabrizio Parrella
Name: Fabrizio Parrella <contact>
Classes: 8 packages by
Country: United States United States
Age: 47
All time rank: 20824 in United States United States
Week rank: 215 Down24 in United States United States Equal
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (3)  
File Role Description
Files folder imagephp4x (1 file)
Files folder imagephp5x (1 file)
Plain text file _class_bib_server.inc.php Class Main Class

  Files folder image Files (3)  /  php4x  
File Role Description
  Accessible without login Plain text file _class_bib_server.inc.php Conf. Config Class for php4

  Files folder image Files (3)  /  php5x  
File Role Description
  Plain text file _class_bib_server.inc.php Conf. Config Class for php5

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,523
This week:0
All time:2,572
This week:73Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2690