PHP
·
发表于 5年以前
·
阅读量:8307
ÏÈ´Ó×ÖÃaeÒa˼ÉÏÀi½a£¬None-Thread Safe¾ÍÊÇÇḬ̈߳²È«£¬ÔÚÖ´ÐÐʱ²»½øÐÐỊ̈߳¨thread£(C)°²È«¼i²e£»Thread Safe¾ÍÊÇḬ̈߳²È«£¬Ö´ÐÐʱ»a½øÐÐỊ̈߳¨thread£(C)°²È«¼i²e£¬ÒÔÀÖ¹ÓÐÐÂÒªÇo¾ÍÆo¶¯ÐÂÏß³ÌµÄ CGI Ö´ÐÐ*½Ê½ºÄ¾¡ÏµÍ³×ÊÔ´¡£
ÔÙÀ´¿´PHPµÄÁ½ÖÖÖ´Ðнʽ£ºISAPIºÍFastCGI¡£FastCGIÖ´ÐнʽÊÇÒÔµ¥Ò»Ïß³ÌÀ´Ö´ÐвÙ×÷£¬ËuÒÔ²»ÐeÒª½øÐÐÏ̵߳ݲȫ¼i²e£¬³ýÈ¥Ḭ̈߳²È«¼i²eµÄÀ»¤´¶ø¿ÉÒÔÌa¸ßÖ´ÐÐЧÂÊ£¬ËuÒÔ£¬Èç¹uÊÇÒÔ FastCGI£¨ÎÞÂÛ´iÅa IIS 6 »o IIS 7£(C)Ö´ÐÐ PHP £¬¶¼½¨ÒeÏÂÔØ¡¢Ö´ÐÐ non-thread safe µÄ PHP £¨PHP µÄ¶þßMλ™nÓЃÉN°uÑb½Ê½£ºmsi ¡¢zip £¬ÕˆÏÂÝd zip Ì×¼þ£(C)¡£¶øḬ̈߳²È«¼i²eÕýÊÇΪISAPI*½Ê½µÄPHP×¼±¸µÄ£¬ÒoΪÓÐÐi¶aphpÄ£¿e¶¼²»ÊÇḬ̈߳²È«µÄ£¬ËuÒÔÐeҪʹÓÃThread SafeµÄPHP¡£