{"id":1717,"date":"2021-11-09T11:04:41","date_gmt":"2021-11-09T03:04:41","guid":{"rendered":"https:\/\/raksmart.cn\/blog\/?p=1717"},"modified":"2021-11-09T11:04:41","modified_gmt":"2021-11-09T03:04:41","slug":"%e4%b8%ba%e4%bb%80%e4%b9%88%e8%a6%81%e4%bd%bf%e7%94%a8-php","status":"publish","type":"post","link":"https:\/\/raksmart.cn\/blog\/knowledge\/1717.html","title":{"rendered":"\u4e3a\u4ec0\u4e48\u8981\u4f7f\u7528 PHP?"},"content":{"rendered":"<p>\u60a8\u663e\u7136\u542c\u8bf4\u8fc7\u8bb8\u591a\u7f16\u7a0b\u8bed\u8a00;\u60a8\u53ef\u80fd\u60f3\u77e5\u9053\u4e3a\u4ec0\u4e48\u6211\u4eec\u8981\u4f7f\u7528 <strong><a href=\"https:\/\/raksmart.cn\/\" target=\"_blank\" rel=\"noopener\">PHP<\/a><\/strong> \u4f5c\u4e3a Web \u7f16\u7a0b\u7684\u6bd2\u836f\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u4ee4\u4eba\u4fe1\u670d\u7684\u539f\u56e0\u3002<\/p>\n<p>1.PHP \u662f\u5f00\u6e90\u548c\u514d\u8d39\u7684\u3002<\/p>\n<p>2.\u4e0e JSP\u3001ASP \u7b49\u5176\u4ed6\u8bed\u8a00\u76f8\u6bd4\uff0c\u5b66\u4e60\u66f2\u7ebf\u8f83\u77ed\u3002<\/p>\n<p>3.\u5927\u578b\u793e\u533a\u6587\u4ef6<\/p>\n<p>4.\u4e0e\u9700\u8981 IIS \u7684\u5176\u4ed6\u8bed\u8a00(\u4f8b\u5982 ASP)\u4e0d\u540c\uff0c\u5927\u591a\u6570 Web \u6258\u7ba1\u670d\u52a1\u5668\u9ed8\u8ba4\u652f\u6301 PHP\u3002\u8fd9\u4f7f\u5f97 PHP \u6210\u4e3a\u4e00\u79cd\u5177\u6709\u6210\u672c\u6548\u76ca\u7684\u9009\u62e9\u3002\u63a8\u8350\u9605\u8bfb\uff1a<a href=\"https:\/\/raksmart.cn\/blog\/knowledge\/810.html\" target=\"_blank\" rel=\"noopener\">\u300aPHP\u57fa\u7840\u5b66\u4e60\u4e4b\u6570\u7ec4\u4ecb\u7ecd\u300b<\/a><\/p>\n<p>5.PHP \u4f1a\u5b9a\u671f\u66f4\u65b0\u4ee5\u8ddf\u4e0a\u6700\u65b0\u7684\u6280\u672f\u8d8b\u52bf\u3002<\/p>\n<p>6.PHP \u7684\u53e6\u4e00\u4e2a\u597d\u5904\u662f\u5b83\u662f\u4e00\u79cd\u670d\u52a1\u5668\u7aef\u811a\u672c\u8bed\u8a00;\u8fd9\u610f\u5473\u7740\u60a8\u53ea\u9700\u8981\u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u5b83\uff0c\u4ece\u670d\u52a1\u5668\u8bf7\u6c42\u8d44\u6e90\u7684\u5ba2\u6237\u7aef\u8ba1\u7b97\u673a\u4e0d\u9700\u8981\u5b89\u88c5 PHP;\u53ea\u6709\u4e00\u4e2a\u7f51\u7edc\u6d4f\u89c8\u5668\u5c31\u8db3\u591f\u4e86\u3002<\/p>\n<p>7.PHP \u5df2\u5185\u7f6e\u652f\u6301\u4e0e MySQL \u643a\u624b\u5408\u4f5c;\u8fd9\u5e76\u4e0d\u610f\u5473\u7740\u60a8\u4e0d\u80fd\u5c06 PHP \u4e0e\u5176\u4ed6\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\u4e00\u8d77\u4f7f\u7528\u3002\u60a8\u4ecd\u7136\u53ef\u4ee5\u5c06 PHP \u4e0ePostgres\u3001\u7532\u9aa8\u6587\u3001\u5fae\u8f6fSQL\u670d\u52a1\u5668\u3001ODBC \u7b49\u4e00\u8d77\u4f7f\u7528\u3002<\/p>\n<p>7.PHP \u662f\u8de8\u5e73\u53f0\u7684\uff0c\u8fd9\u610f\u5473\u7740\u60a8\u53ef\u4ee5\u5728\u8bb8\u591a\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u90e8\u7f72\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982 Windows\u3001Linux\u3001Mac OS \u7b49\u3002<\/p>\n<p>PHP \u7528\u4e8e\u4ec0\u4e48\u548c\u5e02\u573a\u4efd\u989d<\/p>\n<p>\u5728\u5e02\u573a\u4efd\u989d\u65b9\u9762\uff0c\u4e92\u8054\u7f51\u4e0a\u6709\u8d85\u8fc7 2000 \u4e07\u4e2a\u7f51\u7ad9\u548c\u5e94\u7528\u7a0b\u5e8f\u4f7f\u7528 PHP \u811a\u672c\u8bed\u8a00\u5f00\u53d1\u3002<\/p>\n<p>\u8fd9\u53ef\u80fd\u5f52\u56e0\u4e8e\u4e0a\u8ff0\u51e0\u70b9;<\/p>\n<p>PHP \u6587\u4ef6\u6269\u5c55\u540d<\/p>\n<p>\u6587\u4ef6\u6269\u5c55\u540d\u548c\u6807\u7b7e\u4e3a\u4e86\u8ba9\u670d\u52a1\u5668\u6765\u786e\u5b9a\u6211\u4eec\u7684PHP \u6587\u4ef6\u548c\u811a\u672c\uff0c\u6211\u4eec\u5fc5\u987b\u4fdd\u5b58\u7684\u6587\u4ef6\u4e0e\u201c.php\u201d\u7ed3\u5c3e\u3002\u63a8\u8350\u9605\u8bfb\uff1a<a href=\"https:\/\/raksmart.cn\/blog\/knowledge\/jszc\/903.html\" target=\"_blank\" rel=\"noopener\">\u300aPHP\u7b14\u8bb0\uff1a\u7c7b\u548c\u5bf9\u8c61\u4e4b\u91cd\u8f7d\u548c\u9b54\u672f\u65b9\u6cd5\u300b<\/a><\/p>\n<p>\u8f83\u65e7\u7684 PHP \u6587\u4ef6\u6269\u5c55\u540d\u5305\u62ec.phtml\u3001.php3\u3001.php4\u3001.php5\u3001.phps\u3002<\/p>\n<p>PHP \u88ab\u8bbe\u8ba1\u4e3a\u4e0e HTML \u4e00\u8d77\u4f7f\u7528\uff0c\u56e0\u6b64\uff0c\u5b83\u53ef\u4ee5\u5d4c\u5165\u5230 HTML \u4ee3\u7801\u4e2d\u3002<\/p>\n<p>\u60a8\u53ef\u4ee5\u521b\u5efa\u6ca1\u6709\u4efb\u4f55 html \u6807\u7b7e\u7684 PHP \u6587\u4ef6\uff0c\u8fd9\u79f0\u4e3a\u7eaf PHP \u6587\u4ef6\u3002<\/p>\n<p>\u670d\u52a1\u5668\u89e3\u91ca PHP \u4ee3\u7801\u5e76\u5c06\u7ed3\u679c\u4f5c\u4e3a HTML \u4ee3\u7801\u8f93\u51fa\u5230 Web \u6d4f\u89c8\u5668\u3002<\/p>\n<p>\u4e3a\u4e86\u8ba9\u670d\u52a1\u5668\u4ece HTML \u4ee3\u7801\u4e2d\u8bc6\u522b\u51fa PHP \u4ee3\u7801\uff0c\u6211\u4eec\u5fc5\u987b\u59cb\u7ec8\u5c06 PHP \u4ee3\u7801\u5305\u542b\u5728 PHP \u6807\u7b7e\u4e2d\u3002<\/p>\n<p>PHP \u6807\u7b7e\u4ee5\u5c0f\u4e8e\u53f7\u5f00\u5934\uff0c\u540e\u8ddf\u95ee\u53f7\uff0c\u7136\u540e\u662f\u201cphp\u201d\u3002<\/p>\n<p>PHP \u662f\u4e00\u79cd\u533a\u5206\u5927\u5c0f\u5199\u7684\u8bed\u8a00\uff0c\u201cVAR\u201d\u4e0e\u201cvar\u201d\u4e0d\u540c\u3002<\/p>\n<p>PHP \u6807\u7b7e\u672c\u8eab\u4e0d\u533a\u5206\u5927\u5c0f\u5199\uff0c\u4f46\u5f3a\u70c8\u5efa\u8bae\u6211\u4eec\u4f7f\u7528\u5c0f\u5199\u5b57\u6bcd\u3002\u4e0b\u9762\u7684\u4ee3\u7801\u8bf4\u660e\u4e86\u4e0a\u8ff0\u89c2\u70b9\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u628a PHP \u4ee3\u7801\u884c\u79f0\u4e3a\u8bed\u53e5\u3002PHP \u8bed\u53e5\u4ee5\u5206\u53f7 (;)\u7ed3\u5c3e\u3002\u5982\u679c\u53ea\u6709\u4e00\u4e2a\u8bed\u53e5\uff0c\u5219\u53ef\u4ee5\u7701\u7565\u5206\u53f7\u3002\u5982\u679c\u60a8\u6709\u591a\u4e2a\u8bed\u53e5\uff0c\u90a3\u4e48\u60a8\u5fc5\u987b\u4ee5\u5206\u53f7\u7ed3\u675f\u6bcf\u4e00\u884c\u3002\u4e3a\u4fdd\u6301\u4e00\u81f4\u6027\uff0c\u5efa\u8bae\u60a8\u59cb\u7ec8\u4ee5\u5206\u53f7\u7ed3\u5c3e\u60a8\u7684\u8bed\u53e5\u3002PHP \u811a\u672c\u5728\u670d\u52a1\u5668\u4e0a\u6267\u884c\u3002\u8f93\u51fa\u4ee5 HTML \u7684\u5f62\u5f0f\u8fd4\u56de\u3002\u63a8\u8350\u76f8\u5173\u9605\u8bfb\uff1a<a href=\"https:\/\/raksmart.cn\/blog\/knowledge\/1685.html\">\u300a\u5173\u4e8ePHPExtension\u6269\u5c55\u300b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60a8\u663e\u7136\u542c\u8bf4\u8fc7\u8bb8\u591a\u7f16\u7a0b\u8bed\u8a00;\u60a8\u53ef\u80fd\u60f3\u77e5\u9053\u4e3a\u4ec0\u4e48\u6211\u4eec\u8981\u4f7f\u7528 PHP \u4f5c\u4e3a Web \u7f16\u7a0b\u7684\u6bd2\u836f\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b&hellip; <a href=\"https:\/\/raksmart.cn\/blog\/knowledge\/1717.html\" class=\"more-link read-more\" rel=\"bookmark\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">\u4e3a\u4ec0\u4e48\u8981\u4f7f\u7528 PHP?<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[130],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/raksmart.cn\/blog\/wp-json\/wp\/v2\/posts\/1717"}],"collection":[{"href":"https:\/\/raksmart.cn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raksmart.cn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raksmart.cn\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/raksmart.cn\/blog\/wp-json\/wp\/v2\/comments?post=1717"}],"version-history":[{"count":1,"href":"https:\/\/raksmart.cn\/blog\/wp-json\/wp\/v2\/posts\/1717\/revisions"}],"predecessor-version":[{"id":1718,"href":"https:\/\/raksmart.cn\/blog\/wp-json\/wp\/v2\/posts\/1717\/revisions\/1718"}],"wp:attachment":[{"href":"https:\/\/raksmart.cn\/blog\/wp-json\/wp\/v2\/media?parent=1717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raksmart.cn\/blog\/wp-json\/wp\/v2\/categories?post=1717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raksmart.cn\/blog\/wp-json\/wp\/v2\/tags?post=1717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}