{"id":1042,"date":"2019-05-20T09:24:00","date_gmt":"2019-05-20T01:24:00","guid":{"rendered":"https:\/\/blog.naibabiji.com\/?p=1042"},"modified":"2019-11-01T11:47:40","modified_gmt":"2019-11-01T03:47:40","slug":"lnmp-duo-ban-ben-php","status":"publish","type":"post","link":"https:\/\/blog.naibabiji.com\/skill\/lnmp-duo-ban-ben-php.html","title":{"rendered":"LNMP\u5b89\u88c5\u591a\u7248\u672cphp \u5b9e\u73b0php5.6\u548cphp7\u5171\u5b58"},"content":{"rendered":"<p>\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\u662f\u53ef\u4ee5\u8fd0\u884c\u591a\u4e2aPHP\u7248\u672c\u7684\uff0c\u56e0\u4e3a\u67d0\u4e9b\u7f51\u7ad9\u7a0b\u5e8f\u5bf9\u65b0\u7248\u672c\u7684PHP\u4e0d\u517c\u5bb9\uff0c\u6240\u4ee5\u6211\u4eec\u53ea\u80fd\u4f7f\u7528\u8001\u7248\u672c\u7684PHP\u3002\u90a3\u4e48\u5728LNMP\u4e0a\u600e\u4e48\u5b89\u88c5\u591a\u7248\u672c\u7684PHP\u5462\uff1f\u65b9\u6cd5\u5f88\u7b80\u5355\u3002<\/p>\n<p>ssh\u8fde\u4e0aVPS\u540e\uff0c\u8fdb\u5165lnmp1.5\uff08\u5982\u679c\u4f60\u4e0d\u662f1.5\u7248\u672c\u7684\u81ea\u884c\u4fee\u6539\uff09<\/p>\n<pre>cd lnmp1.5<\/pre>\n<p>\u7136\u540e\u8f93\u5165<\/p>\n<pre>.\/install.sh mphp<\/pre>\n<p>\u5c31\u4f1a\u51fa\u73b0\u5b89\u88c5php\u7248\u672c\u7684\u9009\u9879\u754c\u9762\uff0c\u8f93\u5165\u4f60\u9700\u8981\u5b89\u88c5\u7684php\u7248\u672c\u5bf9\u5e94\u7684\u6570\u5b57\u56de\u8f66\uff0c\u5c31\u4f1a\u5b89\u88c5\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1043\" src=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2019\/05\/1558110463-naibabiji.com_2019-05-18_00-27-09-compressor.png\" alt=\"\u9009\u62e9PHP\u7248\u672c\" width=\"409\" height=\"93\" \/><\/p>\n<p>\u7136\u540e\u5728\u4f60\u6dfb\u52a0\u865a\u62df\u4e3b\u673a\u7684\u65f6\u5019\u5c31\u4f1a\u51fa\u73b0php\u7248\u672c\u9009\u62e9\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u5982\u679c\u4f60\u662f\u4f7f\u7528\u7684<a title=\"\u67e5\u770b\u66f4\u591a\u201c\u5b9d\u5854\u9762\u677f\u201d\u7684\u6587\u7ae0\" href=\"https:\/\/blog.naibabiji.com\/tutorial\/install-bt.html\">\u5b9d\u5854\u9762\u677f<\/a>\uff0c\u4e5f\u53ef\u4ee5\u76f4\u63a5\u5728\u540e\u53f0\u5b89\u88c5\u591a\u7248\u672c\u7684php\uff0c\u4f46\u662f\u4e0d\u8981\u88c5\u592a\u591a\u4e86\uff0c\u4e0d\u7136\u4f1a\u5361\u54df\u3002<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;1042&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;\u7ed9\u672c\u6587\u6253\u5206 post&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;LNMP\u5b89\u88c5\u591a\u7248\u672cphp \u5b9e\u73b0php5.6\u548cphp7\u5171\u5b58&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">\u7ed9\u672c\u6587\u6253\u5206 post<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\u662f\u53ef\u4ee5\u8fd0\u884c\u591a\u4e2aPHP\u7248\u672c\u7684\uff0c\u56e0\u4e3a\u67d0\u4e9b\u7f51\u7ad9\u7a0b\u5e8f\u5bf9\u65b0\u7248\u672c\u7684PHP\u4e0d\u517c\u5bb9\uff0c\u6240\u4ee5\u6211\u4eec\u53ea\u80fd\u4f7f\u7528\u8001\u7248\u672c\u7684PHP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1044,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"LNMP\u5b89\u88c5\u591a\u7248\u672cphp \u5b9e\u73b0php5.6\u548cphp7\u5171\u5b58 - \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0","description":"\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\u662f\u53ef\u4ee5\u8fd0\u884c\u591a\u4e2aPHP\u7248\u672c\u7684\uff0c\u56e0\u4e3a\u67d0\u4e9b\u7f51\u7ad9\u7a0b\u5e8f\u5bf9\u65b0\u7248\u672c\u7684PHP\u4e0d\u517c\u5bb9\uff0c\u6240\u4ee5\u6211\u4eec\u53ea\u80fd\u4f7f\u7528\u8001\u7248\u672c\u7684PHP\u3002\u90a3\u4e48\u5728LNMP\u4e0a\u600e\u4e48\u5b89\u88c5\u591a\u7248\u672c\u7684PHP\u5462\uff1f\u65b9\u6cd5\u5f88\u7b80\u5355\u3002 ssh\u8fde\u4e0aVPS\u540e\uff0c\u8fdb\u5165lnmp1.5\uff08\u5982\u679c\u4f60\u4e0d\u662f1.5\u7248\u672c\u7684\u81ea\u884c\u4fee\u6539\uff09 \u7136\u540e\u8f93\u5165 \u5c31\u4f1a\u51fa\u73b0\u5b89\u88c5php\u7248\u672c\u7684\u9009\u9879\u754c\u9762\uff0c\u8f93\u5165\u4f60\u9700\u8981\u5b89\u88c5\u7684php\u7248\u672c\u5bf9\u5e94\u7684\u6570"},"footnotes":""},"categories":[142],"tags":[],"class_list":["post-1042","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-skill"],"_links":{"self":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/1042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/comments?post=1042"}],"version-history":[{"count":0,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/1042\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media\/1044"}],"wp:attachment":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media?parent=1042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/categories?post=1042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/tags?post=1042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}