PHPº¯ÊýµÄʵÏÖÔÀí¼°ÐÔÄÜ·ÖÎö(3)
×ܽἰ½¨Òé
ͨ¹ý¶Ôº¯ÊýʵÏÖµÄÔÀí·ÖÎöºÍÐÔÄܲâÊÔ£¬ÎÒÃÇ×ܽá³öÒÔÏÂһЩ½áÂÛ
1£® PhpµÄº¯Êýµ÷ÓÿªÏúÏà¶Ô½Ï´ó¡£
2£® º¯ÊýÏà¹ØÐÅÏ¢±£´æÔÚÒ»¸ö´óµÄhash_tableÖУ¬Ã¿´Îµ÷ÓÃʱͨ¹ýº¯ÊýÃûÔÚhash±íÖвéÕÒ£¬Òò´Ëº¯ÊýÃû³¤¶È¶ÔÐÔÄÜÒ²ÓÐÒ»¶¨Ó°Ïì¡£
3£® º¯Êý·µ»ØÒýÓÃûÓÐʵ¼ÊÒâÒå
4£® ÄÚÖÃphpº¯ÊýÐÔÄܱÈÓû§º¯Êý¸ßºÜ¶à£¬ÓÈÆä¶ÔÓÚ×Ö·û´®Àà²Ù×÷¡£
5£® Àà·½·¨¡¢ÆÕͨº¯Êý¡¢¾²Ì¬·½·¨Ð§Âʼ¸ºõÏàͬ£¬Ã»ÓÐÌ«´ó²îÒì
6£® ³ýÈ¥¿Õº¯Êýµ÷ÓõÄÓ°Ï죬ÄÚÖú¯ÊýºÍͬÑù¹¦ÄܵÄCº¯ÊýÐÔÄÜ»ù±¾²î²»¶à¡£
7£® ËùÓеIJÎÊý´«µÝ¶¼ÊDzÉÓÃÒýÓüÆÊýµÄdz¿½±´£¬´ú¼ÛºÜС¡£
8£® º¯Êý¸öÊý¶ÔÐÔÄÜÓ°Ï켸ºõ¿ÉÒÔºöÂÔ
Òò´Ë£¬¶ÔÓÚphpº¯ÊýµÄʹÓã¬ÓÐÈçÏÂһЩ½¨Òé
1£® Ò»¸ö¹¦ÄÜ¿ÉÒÔÓÃÄÚÖú¯ÊýÍê³É£¬¾¡Á¿Ê¹ÓÃËü¶ø²»ÊÇ×Ô¼º±àдphpº¯Êý¡£
2£® Èç¹ûij¸ö¹¦ÄܶÔÐÔÄÜÒªÇóºÜ¸ß£¬¿ÉÒÔ¿¼ÂÇÓÃÀ©Õ¹À´ÊµÏÖ¡£
3£® Phpº¯Êýµ÷ÓÿªÏú½Ï´ó£¬Òò´Ë²»Òª¹ý·Ö·â×°¡£ÓÐЩ¹¦ÄÜ£¬Èç¹ûÐèÒªµ÷ÓõĴÎÊýºÜ¶à±¾ÉíÓÖÖ»ÓÃ1¡¢2ÐдúÂë¾ÍÐÐʵÏֵģ¬½¨Òé¾Í²»Òª·â×°µ÷ÓÃÁË¡£
4£® ²»Òª¹ý·ÖÃÔÁµ¸÷ÖÖÉè¼Æģʽ£¬ÈçÉÏÒ»ÌõÃèÊö£¬¹ý·ÖµÄ·â×°»á´øÀ´ÐÔÄܵÄϽµ¡£ÐèÒª¿¼ÂÇÁ½ÕßµÄȨºâ¡£PhpÓÐ×Ô¼ºµÄÌص㣬Çв»¿É¶«Ê©Ð§ò£¬¹ý·ÖЧ·ÂjavaµÄģʽ¡£
5£® º¯Êý²»ÒËǶÌ×¹ýÉµÝ¹éʹÓÃÒª½÷É÷¡£
6£® αº¯ÊýÐÔÄܸܺߣ¬Í¬µÈ¹¦ÄÜʵÏÖÏÂÓÅÏÈ¿¼ÂÇ¡£±ÈÈçÓÃisset´úÌæarray_key_exists
7£® º¯Êý·µ»ØÒýÓÃûÓÐÌ«´óÒâÒ壬ҲÆð²»µ½Êµ¼Ê×÷Ó㬽¨Òé²»Ó迼ÂÇ¡£
8£® Àà³ÉÔ±·½·¨Ð§Âʲ»±ÈÆÕͨº¯ÊýµÍ£¬Òò´Ë²»Óõ£ÐÄÐÔÄÜËðºÄ¡£½¨Òé¶à¿¼ÂǾ²Ì¬·½·¨£¬¿É¶ÁÐÔ¼°°²È«ÐÔ¶¼¸üºÃ¡£
9£® Èç²»ÊÇÌØÊâÐèÒª£¬²ÎÊý´«µÝ¶¼½¨ÒéʹÓô«Öµ¶ø²»ÊÇ´«ÒýÓᣵ±È»£¬Èç¹û²ÎÊýÊǺܴóµÄÊý×éÇÒÐèÒªÐÞ¸Äʱ¿ÉÒÔ¿¼ÂÇÒýÓô«µÝ¡£
±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£ºhttp://blog.csdn.net/heiyeshuwu/archive/2010/08/26/5840025.aspx
ÍƼöÐÅÏ¢
- ¡¾ÊÓƵ²¥·Å¡¿JplayerÊÓƵ²¥·ÅÆ÷µÄʹÓÃ
- memcacheÄÚ´æÔÀí
- Memcache¼¼Êõ·ÖÏí£º½éÉÜ¡¢Ê¹Óᢴ洢¡¢Ëã·¨¡¢ÓÅ»¯....
- php³£ÓÃÕýÔò±í´ïʽ
- phpÐÔÄܼà²âÄ£¿éXHProf
- ÈÃCI¿ò¼ÜÖ§³Öservice²ã
- ʹÓÃPHPÉú³É´øLOGOµÄ¸öÐÔ»¯¶þάÂëͼÏñ
- ¹ØÓÚCodeIgniterÄã¿ÉÄܲ»ÖªµÀµÄ5¸ö֪ʶµã
- Memcache ºÁÃ뼶³¬Ê±¼°ÆäËû³£¼ûÎÊÌâ»ã×Ü
- [PHP±Ê¼Ç]PHPQueryÒ»¸ö´¦ÀíDOMµÄÀûÆ÷
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
×î½ü¸üÐÂ
- PHP»ñÈ¡Óû§µÄÕæʵIP£¬²¢ÅжÏÊÇ·ñÄÚÍøIP
- PHP ´íÎóÈÕÖ¾ error_log
- ÀûÓÃbigpipe»úÖÆʵÏÖÒ³ÃæÄ£¿éµÄÒì²½äÖȾ chunked¼¼Êõ
- php¿ØÖÆÎļþÏÂÔØËÙ¶È
- js + php ¶ÁÈ¡¡¢²¥·ÅÊÓƵÁ÷ ¼æÈÝfirefox£¬c....
- ¡¾ÊÓƵ²¥·Å¡¿JplayerÊÓƵ²¥·ÅÆ÷µÄʹÓÃ
- UNICODE Óë UTF-8 µÄ¹Øϵ
- memcacheÄÚ´æÔÀí
- Memcache¼¼Êõ·ÖÏí£º½éÉÜ¡¢Ê¹Óᢴ洢¡¢Ëã·¨¡¢ÓÅ»¯....
- phpʹÓÃmb_detect_encoding¼ì²â×Ö·û´®±àÂë
ÆÀÂÛ