2. ããªãã²ãã¦ã @tanakahisateru Pinoco developer PHPTAL contributor Firebug translation contributor Yii framework user PhpStorm user ãã«ã¹ã¿ãã¯ã¨ã³ã¸ãã¢(ç¬)
2. ããªãã²ãã¦ã @tanakahisateru Pinoco developer PHPTAL contributor Firebug translation contributor Yii framework user PhpStorm user ãã«ã¹ã¿ãã¯ã¨ã³ã¸ãã¢(ç¬)
ãã®ã¨ã³ããªã¯PHP Advent Calendar 2013 - Qiita [ãã¼ã¿]ã®1æ¥ç®ã§ãã PHPã®éçºã«å¹ åºãå©ç¨ãããããã«ãªã£ãVagrantã§ãããå ¬éããã¦ããVagrantfileãGitHubä¸ã ãã§ã300件以ä¸ã¨è²ã ã¨ããã®ã§ã¾ã¨ãã¦ãããã¨æãã¾ãã Search · Vagrant php yandod/php5-nginx-vagrant-sample ãã¡ãã¯æåå³åã§ãããèªåã使ã£ã¦ããVagrantfileã§ããç´ ã®PHPãPHPUnitãå種ãã¬ã¼ã ã¯ã¼ã¯ã®åä½æ¤è¨¼ã«ä½¿ãããã«PHP5.5ã¨Nginxãæ§ç¯ãã¦ãã¾ãã ã¾ããã¼ã¿ãã¼ã¹ã¨ãã¦MySQLã¨PostgreSQLã両æ¹ã»ããã¢ãããã¦ãããImageMagickãå ¥ã£ã¦ããããããç¹å¾´ãã¨æãã¾ãã 10up/varying-vagrant-vagrants é称ããVVVãã¨å¼
2010å¹´ã®å¹´æ«ã«ããã«ã¤å£«ä¼ãã®ãããVPSã¸ã®å¼ã£è¶ããæä¼ã£ãããã§ããããã®å¾ãå æ°ã«ãµã¼ãã¯åãç¶ãã¦ããããã§ãã å¼ã£è¶ãå½åã¯ãWeb ãµã¼ãã¨ã㦠lighttpd ãå°å ¥ãã¦ããã§ããã©ãåã®å人çãªå¥½ã¿ãããã£ã¦ãéä¸ã§ Nginx ã«åãæ¿ãã¾ããã ç¹ã«å¤§ããªãã©ãã«ããªããµã¯ãµã¯ã¨åãã¦ãããã§ãããæ¨æ¥çªç¶ã® Yahoo!ç ²ã§ã平常æã®æ°åã®ã¢ã¯ã»ã¹ããã£ãããã§ãã Yahoo!ç ²ããã£ããã©æé¡980åã®ãããVPSã¨ãã¥ã¼ãã³ã°ã§ãµã¼ãã¼è½ã¨ããä¹ãåã£ãã â ã«ã¤å£«ä¼ ãã ãã¢ã¯ã»ã¹ã大éã«ãã£ãåæ¥(1è¨äºã«5.5ä¸PV)ã«ããµã¼ãè² è·ãé«ããªã£ã¦ãã¨ãæ°ä»ããã«ãä½æ³¢ã§ã¡ãã£ã¨å¤ããªã£ã¦ãç¿æ¥(1è¨äºã«1.3ä¸PV)ã«æ°ã¥ããã¨ãããããã®å¹³å¸¸é転ã£ã·ãã Nginx çºãã¾ããã¼ã åã¯ãã«ã¤å£«ä¼ã® WordPress ããã·ã¥ãã¼ãã«ãã°ã¤ã³
æ¬å½ã«å¢ãã ãã§åå ããã¦é ãã FuelPHP Advent Calendar 2011 23æ¥ç® æ å½ @akibe ã§ãã æ¨æ¥22æ¥ã¯ @kenji_s ããã®ã FuelPHP ã§ã®ã»ãã¥ãªãã£å¯¾ç(2) ãã§...æ¬å½ã«å¢ãã ãã§åå ããã¦é ãã FuelPHP Advent Calendar 2011 23æ¥ç® æ å½ @akibe ã§ããæ¨æ¥22æ¥ã¯ @kenji_s ããã®ã FuelPHP ã§ã®ã»ãã¥ãªãã£å¯¾ç(2) ãã§ãããä¸åº¦ Nginx ã« FuelPHPå ¥ããæããã¾ãçºã¾ã£ãæ å ±ãè¦ã¤ãããªãã£ãã®ã§ã ä»åã¯ãã®è¨å®ã¨æé ãã¡ã¢ãã¦ã¿ã¾ãããã¤ã³ã¹ãã¼ã«FuelPHPã®ã¤ã³ã¹ãã¼ã«ã¯Nginxã¨ãé¢ä¿ãªãã®ã§ãé常éãã¤ã³ã¹ãã¼ã«ãã¾ãã ã¤ã³ã¹ãã¼ã«ã«ã¯ãå ¬å¼ãµã¤ãã®ããã¥ã¢ã«éããoil ã使ã£ãã¤ã³ã¹ãã¼ã«ãç°¡åã§ãã å°ãã¦ã¼ã¶ã¼ã« sudo 権éã
ä»å¹´ã¯ãããããã£ãã®ã§ãæ¸ãã¦ããã ä»äº 2019å¹´ã®ååã¯ããªãé å¼µã£ãã¨æãã2018å¹´4æã«ã¡ã«ãã¤ã«å ¥ç¤¾ãã¦ããSREã¨ãã¦ããããæºåãã¦ãã¦ãä»å¹´2æã«ã¡ã«ãã¤ããªãªã¼ã¹ã§ããããã®1å¹´ãSREã®ã¨ã³ã¸ãã¢Tech Leadã¨ãã¦ã®ä»äºã¨EMã¨ãã¦ã®ä»äºã両æ¹ãã£ã¦ããã®ã§ãããããæ¸ãã¦ã¿ãã SRE ãªãªã¼ã¹ãè¿ã¥ãåã¯è¨è¨ããã¤ã³ãã©ãã³ã¼ãåãã¦ä»çµã¿ãä½ãä½æ¥ã¨ããªãªã¼ã¹ã¾ã§ã«å¿ è¦ãªãã¨ãããããæ´çãã¦ã¤ã¶ãã¦ããã¨ãããã¨ãã²ããããã£ã¦ãããMicroservices Platform teamã¨ååãã¦ãããã¨ããã£ããæè¡çãªé¨åã ãã§ãªãããã¤ã¯ããµã¼ãã¹ã®éç¨ã®ããã®çµç¹çãªä»çµã¿ã¥ãããä¼ç¤¾ã¨ãã¦ã®æ å ±çµ±å¶ãªã©ãããããªãã¨ããã£ã¦ãããã®ã¨ãã«ããããä»çµã¿ãä½ã£ã¦ããã¦ããã£ãã¨æãã 2018ã®å¹´æ«ãã2æã®ãªãªã¼ã¹ã¾ã§ã¯ãããããã£ã¦ãã¡ã
ä»åãææ¶ã®8æéèä¹ ã¨ããæãã§ããã¤ã«ãªããã¼ããªå 容ã«ãªãã¾ããã VPSãåãããããã¨ããã°ãªã©ãã¿ã¦è¦ããè¦ã¾ãã§æ§ç¯ãããäºããããã¨æãã¾ãããã½ã¼ã¹ããPHPããã«ããã¦ã¤ã³ã¹ãã¼ã«ããã¨ããæµããéãã¦PHPã®åä½åçããã¯ããã®nginx + php-fpmã®æ§æãæ§ç¯ãã¦WordPressãåããã¨ããã¹ãã«ã¿ãªæãã®åå¼·ä¼ã§ãããéä¸ãä»®æ³ãã·ã³ã®MACã¢ãã¬ã¹ã®åé¡ãmbstringã®åé¡ã§apacheãã¯ã©ãã·ã¥ãããªã©ã®åé¡ã«ç´é¢ãã¾ããããã²ã¨ã¾ã西å·ãããnginx + php-fpmã§WordPressãåããã¨ããã´ã¼ã«ã«ã¯å°éããäºãã§ãã¾ãããã¾ãå¯ç£ç©ã¨ãã¦Cã§Hello Worldãåããã¨ããä½æ¥ããã¦ã¿ãã®ã§ãã«ããã¦ãã¤ããªãä½ãã¨ããæµãã身ã«ã¤ããã®ããªã¨æãã¾ããããã§4ã¤ç®ã®8æéèä¹ ã·ãªã¼ãºã«ãªã£ãããã§ãããå¸æãããã°å 容
[追è¨ï¼] æå¾ã§èª¬æãã¦ããproxy cacheã®è¨å®ãä¿®æ£ãã¾ããã [追è¨ï¼] nginx proxy cacheã§ãã£ãã·ã¥ããªãå ´åã®å¦çãå¤æ´ãã¾ããã [追è¨ï¼] ã¹ãã¼ããã©ã³ãæºå¸¯ã§é²è¦§ããæã«ãã£ãã·ã¥ããªãè¨å®ã追å ãã¾ããã ã¯ãã㫠大ãããªé¡åã§ãããä»åã¯WordPressåä½ãéãããã®ã§ã¯ãªãããã¼ã¿ãã¼ã¹ãWebãµã¼ããªã©ã®èª¿æ´ãã¾ãnginxã®proxy cacheæ©è½ã使ã£ã¦éããã話ã«ãªãã¾ãã ãµã¤ãã®æ§æã«ãã£ã¦ã¯ãproxy cacheã¯ä½¿ããªãããããã¾ãããã使ããªãã¦ã5åç¨åº¦éããããã¨ã¯ã§ãã¾ããã®ã§ãåèã«ãã¦ããã ããã°ã¨æãã¾ãã ä»åè¡ããã¥ã¼ãã³ã°ä¸è¦§ DBãæé©åãããã©ã°ã¤ã³ãå°å ¥ãã APCãå°å ¥ãã¦PHPãéããã MySQLãéããã éãWordPressãã©ã°ã¤ã³ãå¤ã nginx+FastCGIã«ãã W
ãããã®VPS CentOSã§ãµã¼ãæ§ç¯ ä½æ¥ãã¼ã20åç®ã Apacheãããå°ãªãã¡ã¢ãªæ¶è²»ã§ããããé«éã ã¨è¨ããã¦ãæè¿è©±é¡ã®Webãµã¼ããNginxããå ¥ãã¦ã¿ã¾ããCGIç³»ã¯Apacheã¨åçãéçãã¡ã¤ã«...ãããã®VPS CentOSã§ãµã¼ãæ§ç¯ ä½æ¥ãã¼ã20åç®ã Apacheãããå°ãªãã¡ã¢ãªæ¶è²»ã§ããããé«éã ã¨è¨ããã¦ãæè¿è©±é¡ã®Webãµã¼ããNginxããå ¥ãã¦ã¿ã¾ããCGIç³»ã¯Apacheã¨åçãéçãã¡ã¤ã«ã¯Apacheãããããªãé«éã«å¦çã§ãã¾ããPassengerã®ã¤ã³ã¹ãã¼ã«ã¨yumã®ãªãã¸ããªè¿½å ã®ä½æ¥ãåæã§ããã¤ã³ã¹ãã¼ã«åæºåãããã®VPSã®æ¨æºOSã¯CentOSã®64bitçã§ããããªããæåãã32bitçã®ããã±ã¼ã¸ãããã¤ãå ¥ã£ã¦ãã¾ããNginxãã¤ã³ã¹ãã¼ã«ããæã«mysqlçãææ°çã«ã¢ãããã¼ããããã®ã§ããã32bitç
Home > PHP | Web+DB > nginx+php-fpmãyumã§ã¤ã³ã¹ãã¼ã«ãã¦ãWordPress/CakePHPãåããè¨å® www.1Ã1.jpã®ç°å¢ãApache+mod_phpãªç°å¢ãããnginx+php-fpmãªç°å¢ã¸ç§»è¡ãã¾ããã ãããVPSã®CentOS5.5ç°å¢ã«nginx+php-fpmãyumã§ã¤ã³ã¹ãã¼ã«ãã¦ãCakePHPã¨WordPressãåããè¨å®ãè¡ãã¾ããã ãã®ã¨ã³ããªã§ã¯å°å ¥ã¨ãããã¨ã§ãã¤ã³ã¹ãã¼ã«ãããã¨ããããåä½ããã¨ããã¾ã§ããç´¹ä»ãã¾ãã 0. æ§æ nginx+php-fpmç°å¢ã«CakePHPã¨WordPressãã¤ã³ã¹ãã¼ã«ãã¾ãã ãããã以ä¸ã®URLã§ã¢ã¯ã»ã¹ã§ããããã«ãã¾ãã http://www.1Ã1.jp/ -> CakePHP http://www.1Ã1.jp/blog/ -> WordPres
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}