æ¡ä»¶1. /bin/shã®å®ä½ãbashã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³
æ¡ä»¶2. åä½ç°å¢
- CGI (ã¬ã³ã¿ã«ãµã¼ãã§ãããã¡ãªCGIã¢ã¼ãã®PHPçãå«ã)
- Passenger(Ruby)
æ¡ä»¶3. ããã°ã©ã å 容
è£è¶³: Passengerã«ã¤ãã¦
Passengerã¯ãããã©ã«ãã§RAILS_ROOT/config/environment.rbã®ãã¡ã¤ã«ææè ã®æ¨©éã§å®è¡ããããããä¸è¬çãªã¤ã³ã¹ãã¼ã«ç¶æ³ã§ããã°public以ä¸ã«ãã¡ã¤ã«ãç½®ãããçãªãã§ãã§ãã¾ããç¹ã«ããã¹ã¯ã¼ãç¡ãã§ã®sudoãå¯è½ãªã¦ã¼ã¶ã§ãã¡ã¤ã«ãç½®ãã¦ããå ´åã«ã¯ããªãã§ããã§ãããã¨ããæå ã§ã¯æ¤è¨¼ãã¾ããã
ã¯ã¼ã«ããã»ã¹ã¯ä½¿ãåããããããç¾çºç¾ä¸ã§ã¯ããã¾ããããä¸å®ã®ãªã¯ã¨ã¹ãæ¯ã«ã¯ã¼ã«ããã»ã¹ãæ¨ã¦ã¦ä½ãç´ãPassengerMaxRequestsãè¨å®ããã¦ããããã¢ã¯ã»ã¹éã«å¿ãã¦ã¯ã¼ã«ããã»ã¹æ°ãå¤åããããã©ã«ãè¨å®ã§ããã°ãç¹°ãè¿ãã®è©¦è¡ã«ããåç¾ãå¯è½ã¨æããã¾ãã