apache prompts for Failed loading ZendLoader.dll solution

  • 2020-05-13 04:08:02
  • OfStack

When playing around with MiniServer, I found that no matter how I configured it, apache would always prompt "Failed loading... ZendLoader.dll "means that ZendLoader is sadly not loaded. (Zend Optimizer applies to php 5.2.x, and above 5.3 becomes Zend Loader, which is actually the same product)

Later, I accidentally wandered into Zend's forum and found that there were some friends and I had the same problem.

1 sentence: Windows, Zend Loader only works with NTS PHP!

That is to say, this sad product only supports NTS version of php, TS version does not support, so those who encounter this problem can check the php version 1.

Attach the difference between NTS and TS

NTS: Non Thread Safe

Non-safe threads, which are executed without thread (Thread) security checks.

TS: Thread Safe

Safe threads, which are executed with thread (Thread) security checks to prevent system resources from being exhausted by starting a new thread's CGI execution with new requirements.

You can check NTS or TS by looking at Thread Safety item 1 in phpinfo.


Related articles: