VC6: legacy Visual Studio 6 compiler, which is compiled using this compiler.
VC9: Visual Studio 2008 compiler, which is compiled by Microsoft VS editor.
Because apache.org only provides the VC6 version, you can only use VC6 when using the original apache version. (Apache VC9 is available on www.apachelounge.com and can be used with PHP VC9. It has never been used)
TS: Thread Safe Thread security. During execution, the Thread security check is performed to prevent the new Thread from consuming system resources by starting the CGI execution mode.
NT: Non-Thread Safe Non-Thread security check is not performed during execution.
Two PHP Execution Methods: ISAPI and FastCGI.
The ISAPI (Internet Server Application Programming Interface) is executed in the form of a DLL dynamic library. It can be executed after being requested by the user and will not disappear immediately after processing a user request, therefore, Thread security check is required to improve program execution efficiency. If you use ISAPI to execute PHP, we recommend that you select the Thread Safe version.
Configuration method in apache:
# The following is required for php to load the TS version.
LoadModule php5_module "xxx/php5apache2_2.dll"
# The following line is optional.
AddType application/x-httpd-php-source. phps
AddType application/x-httpd-php. php. php5. php4. php3. phtml. phpt
FastCGI executes operations in a single thread, so it does not need to perform thread security checks. Apart from the thread security check protection, it can improve the execution efficiency. Therefore, if FastCGI is used to execute PHP, we recommend that you select the Non-Thread Safe version.
Configuration method in apache:
# The following two lines are required to load the php version of the ETS, and cannot be directly written as Action application/x-httpd-php "c: /wamp/bin/php/php3.5.6/php-cgi.exe "!
ScriptAlias/php/"C:/wamp/bin/php/php3.5.6 /"
Action application/x-httpd-php "/php/php-cgi.exe"
# In addition, you must have the AddType application/x-httpd-php. php. php5. php4. php3. phtml. phpt file in php format.
If this configuration is complete, php-cgi.exe can still be used to parse the php webpage for the sake of authority. Therefore, the following section must be added:
<Directory "C:/wamp/bin/php/php5.3.6/">
AllowOverride None
Options None
Order allow, deny
Allow from all
</Directory>
We do not recommend that you use Non-Thread Safe in the production environment. Therefore, we use PHP of Thread Safe.
By default, XAMPP is configured in the http-xampp.conf in the way ISAPI is used