krakjoe / pthreads

Threading for PHP - Share Nothing, Do Everything :)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

windos load pthread.dll failed

wdw753951 opened this issue · comments

I compile my php7.0.33 with vs2015,
I have also download the prebuild “php_pthreads-3.1.6-7.0-ts-vc14-x86”
The configure is "configure --with-tonyenc --enable-object-out-dir=E:\php\php-src\php-src-PHP-7.0.33\buid32 --with-php-build=E:\php\php-sdk\bin\phpdev\vc14\x86\deps --disable-calendar --enable-zts --enable-posix --with-mysqli --with-gd --with-curl --enable-mbstring --enable-bcmath --enable-sockets --enable-ftp --enable-zip --enable-pdo --with-pdo-mysql"
without pthred.dll ,the php is work well
but when i enbale the extension "extension=php_pthreads.dll" ,of cause i have append the pthreadVC2.dll to the PATH,I am a C++ programer
i can't load my index.php just one function "phpinfo()";
My server is nginx,the error log is:
2019/09/24 20:33:00 [error] 4336#2964: *1 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"
Can anyone tell me the answer?

Thank your help