Skip to content

Commit 70dabb4

Browse files
Upgraded to use FastCGIDaemon v0.4.0
1 parent edb555e commit 70dabb4

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To start the daemon listening on port 5000 use the command below. Production mod
1919
Check the FastCGI documentation for your chosen web server to find out how to configure it to use this daemon as a FastCGI application.
2020

2121
```sh
22-
php app/console daemon:run --port 5000 --env="prod"
22+
php app/console speedfony:run --port 5000 --env="prod"
2323
```
2424

2525
If you are using apache, you can configure the FastCGI module to launch and manage the daemon itself. For this to work you must omit the "--port" option from the command and the daemon will instead listen for incoming connections on FCGI_LISTENSOCK_FILENO (STDIN).
@@ -31,6 +31,12 @@ stable release is expected by September 2015.
3131

3232
## Updates
3333

34+
### v0.4.0
35+
- Upgraded to use FastCGIDaemon v0.4.0, renamed command to 'speedfony:run'
36+
37+
### v0.3.2
38+
- Bugfix: Composer dependency on FastCGIDaemon was too loose
39+
3440
### v0.3.1
3541
- Bugfix: Added call to terminate method on symfony kernel (so post response listeners now work)
3642

Resources/config/services.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@ services:
55
php_fast_cgi_speedfony.psr_message_factory:
66
class: Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory
77

8-
php_fast_cgi_speedfony.daemon_factory:
9-
class: PHPFastCGI\FastCGIDaemon\DaemonFactory
10-
118
php_fast_cgi_speedfony.kernel_wrapper:
129
class: PHPFastCGI\SpeedfonyBundle\Bridge\KernelWrapper
1310
arguments: ['@kernel', '@php_fast_cgi_speedfony.symfony_message_factory', '@php_fast_cgi_speedfony.psr_message_factory']
1411

1512
php_fast_cgi_speedfony.daemon_run_command:
1613
class: PHPFastCGI\FastCGIDaemon\Command\DaemonRunCommand
17-
arguments: ['daemon:run', 'Expose this application to the FastCGI daemon', '@php_fast_cgi_speedfony.daemon_factory', '@php_fast_cgi_speedfony.kernel_wrapper']
14+
arguments: ['@php_fast_cgi_speedfony.kernel_wrapper', ~, 'speedfony:run']
1815
tags:
1916
- { name: console.command }

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"php": ">=5.5.0",
1515
"symfony/symfony": "~2.7",
1616
"symfony/psr-http-message-bridge": "~0.1",
17-
"phpfastcgi/fastcgi-daemon": "0.3.*"
17+
"phpfastcgi/fastcgi-daemon": "0.4.*"
1818
},
1919
"require-dev": {
2020
"satooshi/php-coveralls": "dev-master"

0 commit comments

Comments
 (0)