{"id":1259,"date":"2020-10-23T11:01:14","date_gmt":"2020-10-23T03:01:14","guid":{"rendered":"https:\/\/www.zeroheart.xyz\/wordpress\/?p=1259"},"modified":"2020-12-04T16:03:08","modified_gmt":"2020-12-04T08:03:08","slug":"%e5%8d%87%e7%ba%a7lnmp%e7%9a%84php%e7%8e%af%e5%a2%83%ef%bc%8c%e5%b9%b6%e8%ae%be%e7%bd%ae%e5%a5%bd%e8%87%aa%e5%90%af%e5%8a%a8%e7%ad%89","status":"publish","type":"post","link":"https:\/\/www.zeroheart.xyz\/wordpress\/?p=1259","title":{"rendered":"\u5347\u7ea7lnmp\u7684php\u548cmysql\u73af\u5883\uff0c\u5e76\u8bbe\u7f6e\u597d\u81ea\u542f\u52a8\u7b49"},"content":{"rendered":"\n<p>cd lnmp1.4\/<br>.\/install.sh mphp<br>cd \/usr\/local\/nginx\/conf\/<br>cat enable-php.conf<br>cat enable-php7.1.conf<br>mv enable-php.conf enable-php5.x.conf<br>mv enable-php7.1.conf enable-php.conf<br>nginx -s reload<\/p>\n\n\n\n<p>cd \/etc\/init.d<br>ls<br>cat php-fpm<br>ls<br>mv php-fpm php-fpm5<br>mv php-fpm7.1 php-fpm<\/p>\n\n\n\n<p>\u5347\u7ea7lnmp\u7684php\u73af\u5883<\/p>\n\n\n\n<p>\u4e5f\u662f\u53ef\u4ee5\u5347\u7ea7mysql\u7684\uff0c\u7531\u4e8e\u4ee3\u7801\u6bd4\u8f83\u65e7\uff0c\u76f4\u63a5\u8fd0\u884c\uff0c\u7136\u540e\u8f93\u5165mysql\u7248\u672c\u53f7\uff0c\u53ef\u80fd\u4e0b\u8f7d\u4e0d\u5230\u5bf9\u5e94\u7684\u5305\uff0c\u6211\u662f\u4e0b\u8f7d\u597d\u4e4b\u540e\uff0c\u518d\u5347\u7ea7\u7684\u3002\u5347\u7ea7\u8fc7\u7a0b\u8f83\u957f\uff0c\u597d\u5728\u6ca1\u6709\u51fa\u73b0\u95ee\u9898\u3002<\/p>\n\n\n\n<p>wget -c http:\/\/mirrors.sohu.com\/mysql\/MySQL-5.6\/mysql-5.6.39.tar.gz<\/p>\n\n\n\n<p>.\/upgrade.sh mysql\u00a0<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>cd lnmp1.4\/.\/install.sh mphpcd \/usr\/local\/nginx\/conf\/ca [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[77,62,78],"_links":{"self":[{"href":"https:\/\/www.zeroheart.xyz\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1259"}],"collection":[{"href":"https:\/\/www.zeroheart.xyz\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zeroheart.xyz\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zeroheart.xyz\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zeroheart.xyz\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1259"}],"version-history":[{"count":4,"href":"https:\/\/www.zeroheart.xyz\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1259\/revisions"}],"predecessor-version":[{"id":1327,"href":"https:\/\/www.zeroheart.xyz\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1259\/revisions\/1327"}],"wp:attachment":[{"href":"https:\/\/www.zeroheart.xyz\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zeroheart.xyz\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zeroheart.xyz\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}