{"id":341,"date":"2007-10-31T21:43:16","date_gmt":"2007-10-31T21:43:16","guid":{"rendered":"http:\/\/kumouse.aafox.com\/?p=8"},"modified":"2007-10-31T21:43:16","modified_gmt":"2007-10-31T21:43:16","slug":"%e6%9d%82%e9%a1%b9","status":"publish","type":"post","link":"https:\/\/www.kumouse.com\/?p=341","title":{"rendered":"\u6742\u9879"},"content":{"rendered":"<p>\u8f6c\u63a5\u5361<br \/>http:\/\/shop33799997.taobao.com\/<br \/>http:\/\/shop33043991.taobao.com\/<br \/>SD\u8f6c<br \/>http:\/\/store.taobao.com\/shop\/view_shop.htm?user_id=8db79f8ea19e48491fbc6859bf2a1ca2<br \/>\u8f6f\u4ef6\u540d(\u8def\u7531)<br \/>http:\/\/www.m0n0china.org\/<br \/>http:\/\/www.routerbbs.com\/<br \/> SLK<br \/>http:\/\/zibada.xgm.ru\/opendota\/<\/p>\n<p>\u7f51\u9875\u4ee3\u7801<br \/>http:\/\/www.netbei.com\/Article\/art\/art1\/200508\/3912.html<\/p>\n<p>\u4f60\u53ef\u80fd\u542c\u8bf4\u4e86\u4f1f\u5927\u7684\u670d\u52a1\u5668\u7aef\u811a\u672c\u8bed\u8a00-PHP3\uff0c\u672c\u6587\u5c31\u662f\u5b83\u7684\u6307\u5357\u3002\u4f46\u662f\uff0c PHP3\u53ea\u662f\u8f89\u714c\u7684\u5386\u53f2\uff0c\u672a\u6765\u5c06\u662f\u5177\u5907Zend \u7684PHP4\u3002\u5b83\u4e0eApache1.3.12 \u548cMySQL\u6346\u7ed1\uff0c\u4ed6\u4eec\u6784\u6210\u4e00\u4e2a\u5f3a\u529b\u7ec4\u5408\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u96c6\u4e2d\u5168\u529b\u4e8e\u4f7fApache\u66f4\u52a0\u4e07\u80fd\uff0c\u5e76\u589e\u52a0\u4e00\u4e9b\u5bf9PHP4\u7684\u6539\u8fdb\u3002PHP4\u81ea\u4ecebeta 2\u7248\u672c\u540e\u5df2\u7ecf\u5f88\u575a\u56fa\u4e86\uff0c\u5e76\u4e14\u5b83\u5c06\u662f\u6700\u540e\u7684beta\u9636\u6bb5\uff0c\u5e76\u4e14\u4e0eZend\u4f18\u5316\u5668\u7684\u4e00\u8d77\u53d1\u5e03\u3002<\/p>\n<p>\u4f60\u9700\u8981\u4e0b\u8f7d\u4e0b\u5217\u6e90\u4ee3\u7801\uff1a<\/p>\n<p>    *<\/p>\n<p>      Apache 1.3.12<br \/>      http:\/\/www.apache.org\/dist\/apache_1.3.12.tar.gz<br \/>    *<\/p>\n<p>      PHP4 beta 4 \u8865\u4e01 \u7ea71<br \/>      http:\/\/www.php.net\/version4\/do_download.php?download_file=php-4.0b4pl1.tar.gz<br \/>    *<\/p>\n<p>      MySQL 3.22.32<br \/>      http:\/\/www.mysql.org\/Downloads\/MySQL-3.22\/mysql-3.22.32.tar.gz<br \/>    *<\/p>\n<p>      Zend \u4f18\u5316\u5668<br \/>      http:\/\/www.zend.com\/zend\/optimizer.php<\/p>\n<p>\u73b0\u5728\u5c06\u6240\u6709\u8fd9\u4e9b\u79fb\u5230\u201c\/usr\/local\/src\u201d\u76ee\u5f55\u4e0b\u5e76\u4e14\u89e3\u5305\u4ed6\u4eec\uff1a<\/p>\n<p>mv *.tar.gz \/usr\/local\/src\/<br \/>cd \/usr\/local\/src<br \/>tar -zxvf apache*.tar.gz<br \/>tar -zxvf php*.tar.gz<br \/>tar -zxvf mysql*.tar.gz<br \/>tar -zxvf Zend*.tar.gz <\/p>\n<p>\u8fd9\u91cc\u9996\u5148\u5b89\u88c5MySQL\u3002<\/p>\n<p>cd mysql*<br \/>.\/configure &#8211;prefix=\/usr\/local\/mysql<br \/>make<br \/>make install<br \/>cd \/usr\/local\/mysql\/bin<br \/>.\/mysql_install_db<br \/>.\/safe_mysqld &gt;\/dev\/null &#038;<br \/>.\/mysqladmin -u root password &#39;yourdesiredpasswordhere&#39;<\/p>\n<p>\u8fd9\u5c06\u4f7fMySQL\u542f\u52a8\u5e76\u8fd0\u884c\u8d77\u6765\u3002\u4f60\u5f88\u53ef\u80fd\u60f3\u8981\u5728\u5f15\u5bfc\u65f6\u542f\u52a8\u5b83\uff0c\u4fee\u6539\u5b83\u3002\u8981\u4f7fMySQL\u5728\u5f15\u5bfc\u65f6\u88c5\u8f7d\uff0c\u4f60\u5fc5\u987b\u628a\u4e0b\u5217\u884c\u653e\u8fdb\u4e0b\u9762\u6307\u5b9a\u7684\u6587\u4ef6\u3002<\/p>\n<p>.\/safe_mysqld &gt;\/dev\/null &#038;<\/p>\n<p>\u5bf9\u4e8e\u57fa\u4e8eRedHat Linux\u7684\u7cfb\u7edf\uff0c\u4f60\u9700\u8981\u628a\u4e0a\u8ff0\u884c\u653e\u5728\/etc\/rc.d\/rc.local\u4e2d\uff0c\u800c\u5bf9\u4e8e\u57fa\u4e8eDebian GNU\/Linux \u7684\u7cfb\u7edf\uff0c\u4f60\u9700\u8981\u628a\u5b83\u653e\u5728\/etc\/init.d\/rcS\u4e2d\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\u6211\u4eec\u5c06\u8981\u5b89\u88c5Apache\u3002\u901a\u5e38\uff0c\u5f53\u4f60\u4ece\u73b0\u6709Apache\u7248\u672c\u5347\u7ea7\u65f6\uff0c\u4f60\u53ea\u8981\u5347\u7ea7\uff0c\u800c\u4e0d\u5fc5\u641e\u4e71httpd.conf\uff0c\u4f46\u662f\u56e0\u4e3a\u6211\u4eec\u5c06\u4ee5\u52a8\u6001\u5171\u4eab\u5bf9\u8c61DSO\u652f\u6301\u5b83\uff0c\u4f60\u5c06\u8981\u79fb\u52a8\u5f53\u524d\u7684httpd.conf\u5230httpd.conf.save\uff0c\u5e76\u4e14\u4f7f\u7528\u65b0\u7684 http.conf.default\u3002<\/p>\n<p>cd  \/usr\/local\/apache\/conf<br \/>mv  httpd.conf  httpd.conf.save <br \/>cp  httpd.conf.default  httpd.conf<\/p>\n<p>\u73b0\u5728\u56de\u5230Apache\u6e90\u4ee3\u7801\u76ee\u5f55\u5e76\u4e14\u914d\u7f6e\u548c\u5b89\u88c5\u5b83\u3002<\/p>\n<p>cd  \/usr\/local\/src\/apache_1.3.12<br \/>.\/configure &#8211;prefix=\/usr\/local\/apache &#8211;enable-shared=max<br \/>make<br \/>make install<\/p>\n<p>\u8fd9\u7f16\u8bd1apache\u3002\u73b0\u5728\u4f60\u6709\u4e86DSO\u652f\u6301\uff0c\u56e0\u6b64\u5982\u679c\u4f60\u6b63\u5728\u5347\u7ea7\uff0c\u4f60\u4ec5\u9700\u518d\u7f16\u8bd1Apache\uff0c\u800c\u4e0d\u662f\u65b0\u6a21\u5757\u3002\u73b0\u5728\u6211\u4eec\u9700\u8981\u5728PHP\u4e0a\u505a\u4e00\u4e9b\u5de5\u4f5c\u3002<\/p>\n<p>cd ..\/php-4.0b4pl1<br \/>.\/configure &#8211;with-apxs=\/usr\/local\/apache\/bin\/apxs <br \/>&nbsp;&nbsp;&#8211;with-config-file-path=\/usr\/local\/apache\/conf <br \/>    &nbsp;&nbsp;&#8211;with-mysql=\/usr\/local\/mysql&#8211;enable-debug=no &#8211;enable-track-vars<br \/>make<br \/>make install<\/p>\n<p>\u73b0\u5728\u7f16\u8bd1\u548c\u5b89\u88c5PHP\u4ee5\u53ca\u6211\u4eec\u6240\u9700\u7684\u4e1c\u897f\u3002\u6211\u4eec\u5fc5\u987b\u7528\u6211\u4eec\u7684\u914d\u7f6e\u6587\u4ef6\u5de5\u4f5c\u3002<\/p>\n<p>cp  php.ini-dist  \/usr\/local\/apache\/conf\/php.ini <br \/>cd  \/usr\/local\/apache\/conf<\/p>\n<p>\u7f16\u8f91\u4f60\u7684httpd.conf\u3002\u4f60\u5e94\u8be5\u53ea\u9700\u505a\u5f88\u5c11\u7684\u4e8b\u60c5\uff0c\u9664\u975e\u4f60\u6709\u5fc5\u8981\u4e3a\u4e86\u5176\u4ed6\u4e8b\u60c5\u3002\u9996\u5148\u4f60\u5c06\u8981\u4fdd\u8bc1\u4f60\u7684\u914d\u7f6e\u6587\u4ef6\u652f\u6301\u6240\u6709PHP\u6a21\u5757\u548c\u5176\u4ed6\u6a21\u5757\u3002\u4f60\u5e94\u8be5\u770b\u5230\u8c61\u8fd9\u6837\u7684\u4e00\u4e9b\u884c\uff1a<\/p>\n<p>LoadModule  vhost_alias_module  libexec&#8230;<br \/>LoadModule&#8230;<br \/>LoadModule  php4_module  libexec\/libphp4.so<\/p>\n<p>ClearModuleList AddModule mod_vhost_alias.c AddModule&#8230; AddModule mod_php4.c<\/p>\n<p>\u786e\u5b9a\u6709\u4e00\u957f\u4e32\u6a21\u5757\u7684\u5217\u51fa\uff0c\u5982\u679c\u4e0d\u662f\uff0c\u770b\u4e00\u4e0b\u65b0\u7684httpd.conf.default\uff0c\u4ed6\u4eec\u5e94\u8be5\u6709\u3002\u4fdd\u8bc1\u5b83\u4e5f\u6709PHP\u7684\u8bbe\u7f6e\uff0c\u5982\u679c\u6ca1\u6709\uff0c\u52a0\u5165\u4e0a\u8ff0\u884c\u3002\u63a5\u4e0b\u6765\u5728httpd.conf\u4e2d\uff0c\u4fdd\u8bc1\u4f60\u5efa\u7acb\u4e86PHP\u7684\u5904\u7406\u5668\u548cmime\u3002\u5b83\u5e94\u8be5\u770b\u8d77\u6765\u50cf\u8fd9\u6837\uff0c\u4f60\u5fc5\u987b\u53bb\u6389\u6ce8\u91ca\uff1a<\/p>\n<p>AddType  application\/x-httpd-php  .php  .php3  .phtml <br \/>AddType  application\/x-httpd-php-source  .phps<\/p>\n<p>\u8fd9\u5c31\u4e3a\u4f60\u5efa\u7acb\u4e86PHP\u3002\u73b0\u5728\u6211\u4eec\u5c06\u5b89\u88c5Zend\u4f18\u5316\u5668\u3002\u8fd9\u4ec5\u662fbeta\u7248\u5e76\u4e14\u53ea\u67093\u4e2a\u4f18\u5316\u529f\u80fd\u3002<\/p>\n<p>mkdir  \/usr\/local\/Zend <br \/>mkdir  \/usr\/local\/Zend\/lib<br \/>cp \/usr\/local\/src\/Zend*\/ZendOptimizer.so \/usr\/local\/Zend\/lib\/<\/p>\n<p>\u73b0\u5728\u4f60\u9700\u8981\u66f4\u65b0\u4f60\u7684php\u914d\u7f6e\u6587\u4ef6-php.ini\uff0c\u5e76\u4e14\u52a0\u5165\u4e0b\u52172\u884c\uff0c\u884c\u4e2d\u4e0d\u80fd\u6709\u591a\u4f59\u7684\u7a7a\u683c\u548c\u5176\u4ed6\u4e1c\u897f\uff1a<\/p>\n<p>zend_optimizer.optimization_level=1<br \/>zend_extension=&quot;\/usr\/local\/Zend\/lib\/ZendOptimizer.so&quot;<\/p>\n<p>\u5728\u4f60\u5168\u9762\u7f16\u8f91\u4e86httpd.conf\u4e4b\u540e\uff0c\u542f\u52a8Apache\u5e76\u4e14\u68c0\u67e5\u662f\u5426\u6b63\u786e\u3002<\/p>\n<p>cd ..\/bin <br \/>.\/apachetcl  start<\/p>\n<p>\u4f7f\u7528\u4e0b\u9762\u7684php\u811a\u672c\uff1a<\/p>\n<p>\u4f60\u9700\u8981\u628a\u8fd9\u4e9b\u884c\u653e\u5728\u4e00\u4e2a\u6587\u4ef6\u4e2d-phpinfo.php\uff0c\u7136\u540e\u628a\u8fd9\u4e2a\u6587\u4ef6\u653e\u8fdb\u4f60\u7684\u6d4f\u89c8\u5668\u6587\u4ef6\u7684\u6839\u6587\u4ef6\u5939\u4e0b\u3002\u7136\u540e\u7528\u4f60\u7684\u6d4f\u89c8\u5668\u770b\u5b83\uff0c\u5230http: \/\/localhost\/phpinfo.php\uff0c\u5e76\u4e14\u4f60\u5e94\u8be5\u770b\u5230\u5173\u4e8eZend\u4f18\u5316\u5668\u3001PHP\u3001Apache\u548cMySQL\u4e00\u8d77\u5de5\u4f5c\u7684\u4fe1\u606f\u3002<\/p>\n<p>\u8fdb\u7a0b\u7ec8\u7ed3\u8005<\/p>\n<p>http:\/\/www.aafox.com\/linkcn.php?ref=Lef7PCwnh1<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8f6c\u63a5\u5361http:\/\/shop33799997.taobao.com\/http:\/\/shop33043991.t [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-341","post","type-post","status-publish","format-standard","hentry","category-13"],"_links":{"self":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts\/341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=341"}],"version-history":[{"count":0,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts\/341\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}