Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d348183

Browse files
committed
add socket example
1 parent 3154368 commit d348183

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ use Makasim\PhpFpm\PhpFpmConnectionFactory;
3838
require_once __DIR__.'/vendor/autoload.php';
3939

4040
$context = (new PhpFpmConnectionFactory('tcp://localhost:9000'))->createContext();
41+
// or
42+
//$context = (new PhpFpmConnectionFactory('unix:///var/run/php/php7.1-fpm.sock'))->createContext();
4143

4244
$queue = $context->createQueue(__FILE__);
4345

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /