I am downloading PHP for Windows. I got 2 options on the website.
- PHP Thread Safe
- PHP Non-Thread Safe
Please answer the following questions:
- What is the difference between the two? What are the
advantages and disadvantages over one another? - I am developing an e-commerce website which will have heavy traffic, which one is more recommended and why?
From PHP documentation:
So it really depends on the way that you want to use PHP:
LoadModule: Thread SafePHP manual has nice installation instructions.
AFAIR running PHP with FastCGI is the preferable way, it performs faster and allows for more fine-grained security configuration.