linux+ngnix+php °²×°ÅäÖÃ
Èí¼þÏÂÔصØÖ·£º
pcre£ºhttp://www.pcre.org/
Nginx£ºhttp://nginx.net/
spawn-fcig: http://redmine.lighttpd.net/projects/spawn-fcgi/news
ÀûÓà wget ÃüÁîÏÂÔØÏàÓ¦µÄ °²×°°ü
²½Öè
1¡¢°²×°pcre
ngnix ÐèÒª°²×°pcre¿â£º
wget http://sourceforge.net/project/showfiles.php?group_id=10194
½âѹpcre£º tar xzvf ÎļþÃû
./configure
make
make install
2¡¢°²×°ngnix
wget http://sysoev.ru/nginx/nginx-0.8.28.tar.gz
tar xzvf ngnix-0.8.28.tar.gz
cd ngnix-0.8.28.tar.gz
./configure
make
make install
3¡¢°²×°php
ÕâÀï²»ÐðÊö
4¡¢°²×° spawn-fcig
ÒòΪ ngnixÏ php ÒªÒÔcgi·½Ê½Æô¶¯¡£
°´ÕÕÉÏÃæÏàͬµÄ ²½Öè ÏÂÔØ°²×° spawn-fcgi¡£
ÀûÓà spawn-fcgiÀ´Æô¶¯php£¬Ö´ÐÐÒÔÏÂÃüÁî
/usr/local/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -C 5 -f /usr/bin/php-cgi
Ïà¹ØÎĵµ£º
ÈçºÎ´´½¨ÎÒÃǵĵÚÒ»¸öPHPÒ³ÃæÄØ£¿·Ç³£¼òµ¥µÄ£¡Ñ¡ÔñÎÒÃÇʹÓõÄÒ»¸ö×îºÃµÄÉè¼Æ¹¤¾ß£¬µ±È»ÄãÒ²¿ÉÒÔ Ö»Ê¹ÓüÇʱ¾¡£´´½¨Ö®ºó¼ÇµÃÒª±£´æΪÀ©Õ¹ÃûΪPHPµÄÎļþ£¬È»ºó´«µ½ÎÒÃǵķþÎñÆ÷
ÉÏ¡£
¡¡¡¡ÔÚ±àдPHP³ÌÐò֮ǰͨ³£ÎÒÃÇÐèÒªÅäÖÃÎÒÃǵĻ·¾³£¬Ò²¾ÍÊÇ˵·þÎñÆ÷
ÒªÖ§³ÖPHP²ÅÄÜÐа¡
¡¡¡¡Ò»¡¢PHPµÄ»ù±¾½á¹¹£º
¡¡¡¡Ê¹ÓÃIncl ......
Unix/Linux ÍøÂç½Ó¿Ú¹ÜÀíÏà¹ØÃüÁî½éÉÜ
»ñÈ¡ÍøÂçÊÊÅäÆ÷ÁбíÐÅÏ¢
ÔÚ»ñÖªÍøÂç½Ó¿ÚʹÓÃ״̬֮ǰ£¬Äã¿ÉÄÜÐèÒªÖªµÀÄ㵱ǰµÄϵͳʹÓõÄÍøÂçÊÊÅäÆ÷£¬ÔÚ Linux ºÍ AIX Öв鿴ÍøÂçÉ豸Æ÷µÄÊôÐÔʹÓò»Í¬µÄÃüÁÏÂÃæµÄÀý×Ó¸ø³öÁËÔÚ²»Í¬ÏµÍ³ÉÏÈçºÎ²é¿´ÍøÂçÉ豸Æ÷µÄÊôÐÔ¡£
Linux ϵͳÆô¶¯¼ÓÔØÍø¿¨Çý¶¯»áÊä³öʶ±ðµ½µÄËùÓÐÍøÂçÊÊÅäÆ÷Ð ......
ÄÚºËÓëÓ¦ÓóÌÐò·Ö¿ª¹¹½¨
ÄÚºËÓëÓ¦ÓóÌÐò±»Éè¼Æ³É·Ö¿ª¹¹½¨µÄ£¬ÓÉCÍ·ÎļþºÍC¿âʵÏÖ£¨KEMIN:ÎÒÃÇÒ»°ã¶¼ÊÇ»ùÓÚ¿â±àÒë¹¹½¨Ó¦ÓóÌÐò£¬ÕâÊÇĬÈϵġ£µ«ÊÇÈç¹ûûÓÐÓëʵʱϵͳµÄͳһ¹¹½¨·½Ê½¶Ô±È£¬ÈÏʶÃæºÜµ¥Ò»£¬ÄÑÒÔ½ÏÈ«ÃæÈÏʶ¹¹½¨Èí¼þµÄ±¾ÖÊ£©¡£·Ö¿ª¹¹½¨µÄÓŵãÊÇÒ×ÓÚ¶ÀÁ¢¿ª·¢ÐÂÓ¦Óã¬Âú×㶯̬ÐèÇó£»È±µã»ò´ú¼ÛÊǶÔÄÚºËÓëÓ¦ÓÃµÄ½Ó¿Ú ......
³£¼ûµÄÁ½ÖÖ´íÎó£º
1.ÔÚ²åÈëÄ£¿éµÄʱºò³öÏÖÈçÏÂÎÊÌ⣺
# insmod globalmem.ko insmod: error inserting 'globalmem.ko': -1 Device or resource busy
ANSWER:Ö÷É豸ºÅ±»Õ¼ÓÃÁË£¬»»ÁíÒ»¸ö¡£ Äã°Ñglobalmem.cÎļþÀïÃæµÄºê¶¨ÒåÄÇÀï¸ÄΪ226»òÆäËû£¬È»ºóÔÙ±àÒë¾Í¿ÉÒÔ²åÈëÁË£¡
Ìرð×¢Ò⣺   ......