Author |
|
Brian
Joined: 21 Oct 2005 Posts: 209 Location: Puyallup, WA USA
|
Posted: Fri 11 Dec '09 20:14 Post subject: Non-Thread Safe PHP with FastCGI |
|
|
If I run FCGI / Fast CGI and PHP, is it better to use the non-thread safe version of PHP?
Would the scripts execute any faster? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 12 Dec '09 0:22 Post subject: |
|
|
Over fcgid the NTS is a bit faster than the TS version. I made some tests and at least for me it was faster on apache. Also you should use the VS9 build. |
|
Back to top |
|
Brian
Joined: 21 Oct 2005 Posts: 209 Location: Puyallup, WA USA
|
Posted: Sat 12 Dec '09 8:01 Post subject: |
|
|
Excellent. Yes I am looking at deploying another web server. At issue is the lack of php.ini control per virtual host. Now I read a very interesting tutorial on configuring IIs 7 for FCGI and with the ability to have unique INI files per vhost. Unless I read this wrong of course.
Is that possible with Apache? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|