0

I have this installation of CentOS 7 linux in my server. Currently I use

pcntl_fork

but I find it a very crude solution and wanted to use pThreads. My problem is my server running CPanel/WHM has no option for installing pThreads.

So, how do I recompile PHP to include pThreads and ZTS enabled?

I tried installing pThreads from tar ball but errors because ZTS is not enabled, thus, needing to recompile PHP under my server.

Daniel A. White
  • 187,200
  • 47
  • 362
  • 445
gprialde
  • 1
  • 4

0 Answers0