ÔõôÉó²é×Ô¼ºµÄapache°æ±¾
ÔõÑùÔÚ apache ЧÀÍÆ÷ÉÏÉó²é°æ±¾
°ì·¨£º
ͨ¹ýÏÂÁîÐУº
·¿ªÏÂÁîÐУ¨ÈçÖն˻ò cmd£©£¬²¢ÊäÈëÒÔÏÂÏÂÁ
apachectl -v
µÇ¼ºó¸´ÖÆ
»òÕߣ¬¹ØÓÚ Apache 2.4 ¼°¸ü¸ß°æ±¾£º
apache2ctl -v
µÇ¼ºó¸´ÖÆ
ͨ¹ýЧÀÍÆ÷״̬ҳ£º
ÔÚä¯ÀÀÆ÷ÖУ¬»á¼ûÒÔÏ URL£º
http://ÄãµÄЧÀÍÆ÷IP»òÓòÃû/server-status
µÇ¼ºó¸´ÖÆ
Õ⽫ÏÔʾЧÀÍÆ÷״̬ҳÃ棬ÆäÖаüÀ¨ Apache °æ±¾ÐÅÏ¢¡£
ͨ¹ý Apache ÉèÖÃÎļþ£º
ÈôÊÇ Apache ͨ¹ýÉèÖÃÎļþÆô¶¯£¬¿ÉÒÔ·¿ªÎļþ²¢²éÕÒÒÔÏÂÐУ¨Í¨³£Î»ÓÚÎļþµÄ¶¥²¿£©£º
ServerVersion: Apache/VERSION_NUMBER
µÇ¼ºó¸´ÖÆ
ÆäÖУ¬VERSION_NUMBER ÊÇ Apache °æ±¾¡£
ÒÔÉϾÍÊÇÔõôÉó²é×Ô¼ºµÄapache°æ±¾µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡
ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿Ê±ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿Ê±ÊµÊ±ÐÞÕý»òɾ³ý¡£