{"id":1487,"date":"2009-01-16T14:05:17","date_gmt":"2009-01-16T06:05:17","guid":{"rendered":"http:\/\/blog.myhz.com\/ivan\/2009\/01\/16\/godaddy-linux%e4%b8%bb%e6%9c%ba%ef%bc%8cphp4%e5%8d%87%e7%ba%a7%e5%90%8e%ef%bc%8czend-optimizer%e4%b8%8d%e8%83%bd%e4%bd%bf%e7%94%a8%ef%bc%8c%e9%97%ae%e9%a2%98%e8%a7%a3%e5%86%b3-2\/"},"modified":"2017-01-26T21:15:03","modified_gmt":"2017-01-26T13:15:03","slug":"godaddy-linux%e4%b8%bb%e6%9c%ba%ef%bc%8cphp4%e5%8d%87%e7%ba%a7%e5%90%8e%ef%bc%8czend-optimizer%e4%b8%8d%e8%83%bd%e4%bd%bf%e7%94%a8%ef%bc%8c%e9%97%ae%e9%a2%98%e8%a7%a3%e5%86%b3-2","status":"publish","type":"post","link":"https:\/\/ivan.xin\/?p=1487","title":{"rendered":"godaddy linux\u4e3b\u673a\uff0cphp4\u5347\u7ea7\u540e\uff0cZend Optimizer\u4e0d\u80fd\u4f7f\u7528\uff0c\u95ee\u9898\u89e3\u51b3"},"content":{"rendered":"<p>1\u3001\u786e\u5b9a\u5728\u63a7\u5236\u9762\u677f\u91cc\u9009\u62e9\u7684\u662fphp4<br \/>2\u3001\u4e0b\u8f7d\u6700\u65b0\u7684zend optimizer, http:\/\/www.zend.com\/en\/products\/guard\/downloads<br \/>3\u3001\u628aZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz\u4f20\u81f3\u670d\u52a1\u5668\u4e0a\uff0c\u89e3\u538b\u7f29<br \/>\u5982\u679c\u6709ssh\u767b\u9646\u7684\u8bdd\uff0c\u7528\u547d\u4ee4\uff1a<br \/>gunzip ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz<br \/>tar -xvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar<br \/>4\u3001\u7136\u540e\u51fa\u73b0\u4e00\u4e2a\u76ee\u5f55ZendOptimizer-3.3.3-linux-glibc23-i386\uff0c\u8fdb\u5165\u6b64\u76ee\u5f55\u4e0b\u7684data\u6587\u4ef6\u5939\uff0c\u56e0\u4e3a\u73b0\u5728PHP4\u7684\u7248\u672c\u66f4\u65b0\u540e\u662fv4.4.9\u7684\uff0c\u6240\u4ee5\u8981\u7528\u5230data\u76ee\u5f55\u4e0b\u76844_4_x_comp\u6587\u4ef6\u5939\uff0c\u8bb0\u4f4f\u8fd9\u4e2a\u7edd\u5bf9\u8def\u5f84\u3002\u6211\u7684\u8def\u5f84\u662f\/home\/content\/i\/v\/a\/<span>username<\/span>\/data\/ZendOptimizer-3.3.3-linux-glibc23-i386\/data\/4_4_x_comp\/<br \/>5\u3001\u5728\u7f51\u7ad9\u6839\u76ee\u5f55\u4e0b\u5efa\u7acb\u4e00\u4e2aphp.ini\u6587\u4ef6\uff0c\u91cc\u8fb9\u5199\u4e0a\u5982\u4e0b\u5185\u5bb9\uff1a<br \/>[Zend]<br \/>zend_optimizer.optimization_level=15<br \/>zend_extension=\/home\/content\/i\/v\/a\/<span>username<\/span>\/data\/ZendOptimizer-3.3.3-linux-glibc23-i386\/data\/4_4_x_comp\/ZendOptimizer.so<br \/>zend_extension_ts=\/home\/content\/i\/v\/a\/<span>username<\/span>\/data\/ZendOptimizer-3.3.3-linux-glibc23-i386\/data\/4_4_x_comp\/TS\/ZendOptimizer.so<\/p>\n<p>\u8fd9\u6837\u5c31OK\u4e86\uff0c\u518d\u53bb\u8bbf\u95ee\u4f60\u7684\u7f51\u7ad9\u770b\u770b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u786e\u5b9a\u5728\u63a7\u5236\u9762\u677f\u91cc\u9009\u62e9\u7684\u662fphp42\u3001\u4e0b\u8f7d\u6700\u65b0\u7684zend optimizer, http:\/\/www.zen...<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-1487","post","type-post","status-publish","format-standard","hentry","category-9"],"_links":{"self":[{"href":"https:\/\/ivan.xin\/index.php?rest_route=\/wp\/v2\/posts\/1487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ivan.xin\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ivan.xin\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ivan.xin\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ivan.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1487"}],"version-history":[{"count":0,"href":"https:\/\/ivan.xin\/index.php?rest_route=\/wp\/v2\/posts\/1487\/revisions"}],"wp:attachment":[{"href":"https:\/\/ivan.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ivan.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1487"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ivan.xin\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}