PHPackages                             aiddroid/fastcgi-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. aiddroid/fastcgi-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

aiddroid/fastcgi-php
====================

FastCGI Server &amp; Client by php language.

00PHP

Since Nov 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/aiddroid/FastCGI-php)[ Packagist](https://packagist.org/packages/aiddroid/fastcgi-php)[ RSS](/packages/aiddroid-fastcgi-php/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

FastCGI PHP Version
===================

[](#fastcgi-php-version)

FastCGI Server &amp; Client\[TODO\] by php language.

How can I use it ?
------------------

[](#how-can-i-use-it-)

setup your nginx config in nginx.conf, pass requests to FastCGI port 1234 and reload nginx:

```
    server {
        listen       8080 default_server;
        server_name  localhost _;
        server_name_in_redirect off;
        root   html;
        index  index.php index.html index.htm;

        location /fastcgi {
            fastcgi_pass 127.0.0.1:1234;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include fastcgi_params;
        }
    }
```

download FastCGI-php and run a FastCGI server:

```
git clone https://github.com/aiddroid/FastCGI-php.git
cd FastCGI-php
composer install --dev
php tests/workerman-tcp-server.php start
# OR # php tests/php-tcp-server.php
```

now, you will see some information below:

```
Workerman[tests/workerman-tcp-server.php] start in DEBUG mode
----------------------------------------- WORKERMAN -----------------------------------------
Workerman version:3.5.22          PHP version:7.3.11
------------------------------------------ WORKERS ------------------------------------------
proto   user            worker          listen                 processes    status
tcp     allen           none            fCGI://0.0.0.0:1234    1             [OK]
---------------------------------------------------------------------------------------------
Press Ctrl+C to stop. Start success.
```

use curl to test the FastCGI server:

```
curl -i "http://localhost:8080/fastcgi?uid=1" --data 'username=allen'
```

and you will see the response:

```
HTTP/1.1 200 OK
Server: nginx/1.15.0
Date: Wed, 13 Nov 2019 03:33:52 GMT
Content-Type: text/raw
Transfer-Encoding: chunked
Connection: keep-alive

hello
```

Authors
-------

[](#authors)

- [Allen](https://github.com/aiddroid) ()

License
-------

[](#license)

This project is licensed under the MIT License - for the full copyright and license information, please view the [LICENSE](LICENSE.md) file that was distributed with this source code.

---

*Copyrights (2019) All rights reserved.*

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9811c4e5393d29339bc5f08612cd6babe69bd2276756a84668fae13fc444bcce?d=identicon)[aiddroid](/maintainers/aiddroid)

---

Top Contributors

[![aiddroid](https://avatars.githubusercontent.com/u/3241146?v=4)](https://github.com/aiddroid "aiddroid (10 commits)")

### Embed Badge

![Health badge](/badges/aiddroid-fastcgi-php/health.svg)

```
[![Health](https://phpackages.com/badges/aiddroid-fastcgi-php/health.svg)](https://phpackages.com/packages/aiddroid-fastcgi-php)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
