×ðÁú¿­Ê±¹ÙÍøµÇ¼

thinkphp5.1ÔõÑù¹Ø±Õ»º´æ

thinkphp5.1¹Ø±Õ»º´æµÄÒªÁ죺1¡¢ÕÒµ½¡°\ThinkPHP\Common\convention.php¡±ºÍ¡°\ThinkPHP\Common\debug.php¡±Îļþ£»2¡¢ÔÚdebug.phpÖÐÐÞ¸ÄÄÚÈÝΪ¡°’TMPL_CACHE_ON’=>false,¡±£»3¡¢ÔÚconvention.phpÖÐÐÞ¸ÄÄÚÈÝΪ¡°’ACTION_CACHE_ON’  => false,¡±¡£

Thinkphp¿ª·¢Ê±¹Ø±Õ»º´æ£º

ÒòÔÚ¿ª·¢ÖÐÐèÒª¾­³£ÐÞ¸Ä,´Ó¶øÒª¾­³£É¾³ý»º´æ,²Å»ª¿´µ½Ð§¹û¡£

ÒÔÊÇΪÁË¿ª·¢µÄÀû±ã,¿ÉÒÔ°Ñ»º´æ¸øÈ¥³ý¡£

ÕÒµ½\ThinkPHP\Common\convention.phpºÍ\ThinkPHP\Common\debug.php

Á¬Ã¦Ñ§Ï°¡°PHPÃâ·ÑѧϰÌõ¼Ç£¨ÉîÈ룩¡±£»

·­¿ªÕâÁ½¸öÎļþÕÒµ½ÄãÏëÒªµÄÉèÖü´¿É¡£

debug.phpÖÐ

'TMPL_CACHE_ON'=>false,      // ĬÈÏ¿ªÆôÄ£°å»º´æ

µÇ¼ºó¸´ÖÆ

convention.phpÖÐ’

TMPL_CACHE_ON'   => false,  // ĬÈÏ¿ªÆôÄ£°å±àÒ뻺´æ false µÄ»°Ã¿´Î¶¼ÖØбàÒëÄ£°å
'ACTION_CACHE_ON'  => false,  // ĬÈϹرÕAction »º´æ
'HTML_CACHE_ON'   => false,   // ĬÈϹرվ²Ì¬»º´æ

µÇ¼ºó¸´ÖÆ

ThinkPHPÔõô¹Ø±ÕËùÓлº´æ?

APP_DEBUG=>true 
DB_FIELD_CACHE=>false 
HTML_CACHE_ON=>false

µÇ¼ºó¸´ÖÆ

thinkphpÊÇʲô

thinkphpÊôÓÚÒ»ÖÖÃâ·ÑµÄ¿ª·¢¿ò¼Ü£¬Äܹ»ÓÃÓÚ¿ª·¢Ç°¶ËÍøÒ³£¬×îÔçthinkphpÊÇΪÁ˼ò»¯¿ª·¢¶ø±¬·¢µÄ£¬thinkphpͬʱҲÊÇ×ñÕÕApache2ЭÒ飬×î³õÊÇ´ÓStrutsÑݱä¹ýÀ´£¬Ò²°ÑÍâÑóһЩºÃµÄ¿ò¼Üģʽ¾ÙÐÐʹÓã¬Ê¹ÓÃÃæÏò¹¤¾ßµÄ¿ª·¢½á¹¹£¬¼æÈÝÁËÐí¶à±êÇ©¿âµÈģʽ£¬ËüÄܹ»¸üÀû±ãºÍ¿ì½ÝµÄ¿ª·¢ºÍ°²ÅÅÓ¦Óã¬ËäÈ»²»µ«½öÊÇÆóÒµ¼¶Ó¦Óã¬ÈκÎphpÓ¦Óÿª·¢¶¼¿ÉÒÔ´ÓthinkphpµÄ¼òÆÓ¡¢¼æÈݺͿìËÙµÄÌØÕ÷ÖÐÊÜÒæ¡£

ÒÔÉϾÍÊÇthinkphp5.1ÔõÑù¹Ø±Õ»º´æµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ