{"id":3115,"date":"2018-09-23T07:30:28","date_gmt":"2018-09-23T04:00:28","guid":{"rendered":"http:\/\/webide.ir\/blog\/?p=3115"},"modified":"2018-09-22T12:06:41","modified_gmt":"2018-09-22T08:36:41","slug":"%da%86%da%af%d9%88%d9%86%d9%87-php-7-2-%d8%b1%d8%a7-%d8%a8%d8%b1-%d8%b1%d9%88%db%8c-%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88-16-04-%d9%86%d8%b5%d8%a8-%da%a9%d9%86%db%8c%d9%85%d8%9f","status":"publish","type":"post","link":"https:\/\/webide.ir\/blog\/%da%86%da%af%d9%88%d9%86%d9%87-php-7-2-%d8%b1%d8%a7-%d8%a8%d8%b1-%d8%b1%d9%88%db%8c-%d8%a7%d9%88%d8%a8%d9%88%d9%86%d8%aa%d9%88-16-04-%d9%86%d8%b5%d8%a8-%da%a9%d9%86%db%8c%d9%85%d8%9f","title":{"rendered":"\u0686\u06af\u0648\u0646\u0647 PHP 7.2 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 16.04 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645\u061f"},"content":{"rendered":"<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc \u062f\u0627\u0646\u06cc\u062f PHP \u06cc\u06a9 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0645\u062a\u0646 \u0628\u0627\u0632 \u0633\u0645\u062a \u0633\u0631\u0648\u0631 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0627\u0635\u0644 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc \u062a\u0639\u0627\u0645\u0644\u06cc \u067e\u0648\u06cc\u0627 \u0637\u0631\u0627\u062d\u06cc \u0634\u062f. \u0627\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u062d\u0628\u0648\u0628 \u062a\u0631\u06cc\u0646\u00a0 \u0632\u0628\u0627\u0646 \u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0633\u062a \u0648 \u0628\u0647 \u0637\u0648\u0631 \u0631\u0627\u06cc\u06af\u0627\u0646 \u0628\u0631\u0627\u06cc \u0627\u0635\u0644\u0627\u062d \u0648 \u062a\u0648\u0632\u06cc\u0639 \u0645\u062c\u062f\u062f \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u0627\u0641\u0631\u0627\u062f \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f. PHP \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0647\u0631 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0648 \u0647\u0631 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644\u06cc \u0627\u062c\u0631\u0627 \u06a9\u0631\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u0646\u062d\u0648\u0647 \u0646\u0635\u0628 PHP 7.2 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0645\u0631\u0648\u0631 \u06a9\u0646\u06cc\u0645. \u067e\u0633 \u0647\u0645\u0631\u0627\u0647 \u0648\u0628 \u0627\u06cc\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/p>\n<p>\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632\u0647\u0627:<\/p>\n<ul>\n<li>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u0627 \u0627\u0632 \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f. \u0627\u06cc\u0646 \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u062f\u0631 \u062d\u0627\u0644 \u062d\u0627\u0636\u0631 LAMP Stack \u062f\u0631 \u062d\u0627\u0644 \u06a9\u0627\u0631 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u062e\u0648\u062f \u062f\u0627\u0631\u062f.<\/li>\n<li>\u062f\u0633\u062a\u0631\u0633 \u0631\u0648\u062a SSH \u06cc\u0627 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0628\u0627 \u062f\u0633\u062a\u0631\u0633\u06cc SUDO<\/li>\n<\/ul>\n<p><strong>\u06af\u0627\u0645 \u0627\u0648\u0644: \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0648 \u0628\u0647 \u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u067e\u06a9\u06cc\u062c \u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644<\/strong><\/p>\n<p>\u0642\u0628\u0644 \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0628\u0647 \u0633\u0631\u0627\u063a \u06af\u0627\u0645 \u0647\u0627\u06cc \u0628\u0639\u062f\u06cc \u0628\u0631\u0648\u06cc\u0645 \u0628\u0627\u06cc\u062f \u0627\u0632 \u0637\u0631\u06cc\u0642 SSH \u0628\u0647 VPS \u062e\u0648\u062f \u0648\u0635\u0644 \u0634\u0648\u06cc\u0645 \u0648 \u067e\u06a9\u06cc\u062c \u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0631\u0627 \u0628\u0647 \u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0628\u0647 \u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0646\u0645\u0627\u06cc\u06cc\u0645.\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06a9\u0627\u0631\u0628\u0631 \u0631\u0648\u062a \u0628\u0647 \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0648\u0635\u0644 \u0634\u0648\u06cc\u062f \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u06a9\u0645\u06a9 \u0628\u06af\u06cc\u0631\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">ssh root@IP_ADDRESS -p PORT_NUMBER<\/pre>\n<p>&nbsp;<\/p>\n<p>\u06af\u0632\u06cc\u0646\u0647 IP_ADDRESS \u0648 PORT_NUMBER \u0631\u0627 \u0628\u0627 \u0622\u06cc \u067e\u06cc \u0622\u062f\u0631\u0633 \u0633\u0631\u0648\u0631 \u0648 \u0634\u0645\u0627\u0631\u0647 \u067e\u0648\u0631\u062a SSH \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0646\u0645\u0627\u06cc\u06cc\u062f. \u0628\u0639\u062f \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0648\u0627\u0631\u062f \u0633\u0631\u0648\u0631 \u0634\u062f\u06cc\u062f \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u0647 \u067e\u06a9\u06cc\u062c \u0647\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0628\u0647 \u0631\u0648\u0632 \u0627\u0633\u062a. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0627\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u0632\u06cc\u0631 \u06a9\u0645\u06a9 \u0628\u06af\u06cc\u0631\u06cc\u062f.<\/p>\n<pre class=\"lang:default decode:true \">apt-get update\r\n\r\napt-get upgrade<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0627\u06af\u0631 \u0627\u0648\u0644\u06cc\u0646 \u0628\u0627\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0648\u0627\u0631\u062f \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u062c\u062f\u06cc\u062f \u062e\u0648\u062f \u0645\u06cc \u0634\u0648\u06cc\u062f \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u0646\u06a9\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u0631\u0627 \u0647\u0645 \u0628\u0631\u0631\u0633\u06cc \u0646\u0645\u0627\u06cc\u06cc\u062f.\u0628\u0631\u0627\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0645\u0642\u0627\u0644\u0647 \u0632\u06cc\u0631 \u06a9\u0645\u06a9 \u0628\u06af\u06cc\u0631\u06cc\u062f.<\/p>\n<p><strong>\u00a0\u0645\u0637\u0627\u0644\u0639\u0647 \u06a9\u0646\u06cc\u062f: <a href=\"http:\/\/webide.ir\/blog\/%D8%A8%D8%B9%D8%AF-%D8%A7%D8%B2-%D8%AF%D8%B1%DB%8C%D8%A7%D9%81%D8%AA-%D8%B3%D8%B1%D9%88%D8%B1-%D9%85%D8%AC%D8%A7%D8%B2%DB%8C-%D8%A7%D9%88%D8%A8%D9%88%D9%86%D8%AA%D9%88-%DA%86%D9%87-%DA%A9%D8%A7%D8%B1\">\u0628\u0639\u062f \u0627\u0632 \u062f\u0631\u06cc\u0627\u0641\u062a \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0686\u0647 \u06a9\u0627\u0631\u06cc \u0628\u0627\u06cc\u062f \u0627\u0646\u062c\u0627\u0645 \u062f\u0627\u062f\u061f<\/a><\/strong><\/p>\n<p><strong>\u06af\u0627\u0645 \u062f\u0648\u0645: \u0646\u0635\u0628 \u0648\u0628 \u0633\u0631\u0648\u0631<\/strong><\/p>\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0628\u0647 \u0634\u0645\u0627 \u0646\u0634\u0627\u0646 \u062e\u0648\u0627\u0647\u06cc\u0645 \u062f\u0627\u062f \u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0648\u0628 \u0633\u0631\u0648\u0631 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f. \u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f\u00a0 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0627\u0632 \u0622\u067e\u0627\u0686\u06cc \u06cc\u0627 NGINX \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u0627 \u0627\u0632 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0622\u067e\u0627\u0686\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645. \u0627\u067e\u0627\u0686\u06cc \u0648\u0628 \u0633\u0631\u0648\u0631 \u0627\u0645\u0646 \u0648 \u0633\u0631\u06cc\u0639\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0645\u062d\u0628\u0648\u0628\u06cc\u062a \u0632\u06cc\u0627\u062f\u06cc \u062f\u0627\u0631\u062f \u0648 \u0628\u0647 \u0637\u0648\u0631 \u06af\u0633\u062a\u0631\u062f\u0647 \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0642\u0631\u0627\u0631 \u0645\u06cc \u06af\u06cc\u0631\u062f.\u00a0 \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0622\u067e\u0627\u0686\u06cc \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">apt-get install apache2<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0639\u062f \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0646\u0635\u0628 \u06a9\u0627\u0645\u0644 \u0634\u062f \u0628\u0627\u06cc\u062f \u0622\u067e\u0627\u0686\u06cc \u0631\u0627 \u0627\u0633\u062a\u0627\u0631\u062a \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">systemctl start apache2<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0622\u067e\u0627\u0686\u06cc \u0631\u0627 \u062f\u0631 \u0628\u0648\u062a \u0633\u0631\u0648\u0631 \u0646\u06cc\u0632 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0627\u062c\u0631\u0627 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">systemctl enable apache2<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a \u0648\u0628 \u0633\u0631\u0648\u0631 \u0622\u067e\u0627\u0686\u06cc \u0648 \u0627\u0637\u0645\u06cc\u0646\u0627\u0646 \u0627\u0632 \u0628\u0647 \u0631\u0648\u0632 \u0628\u0648\u062f\u0646 \u0622\u0646 \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u06a9\u0645\u06a9 \u0628\u06af\u06cc\u0631\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">systemctl status apache2<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u0648\u0628 \u0633\u0631\u0648\u0631 \u0622\u067e\u0627\u0686\u06cc \u062f\u0631 \u062d\u0627\u0644 \u0627\u062c\u0631\u0627\u0633\u062a\u060c \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0631\u0648\u0631\u06af\u0631 \u062e\u0648\u062f \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f \u0648<\/p>\n<p>\u0622\u06cc \u067e\u06cc \u0622\u062f\u0631\u0633 \u0633\u0631\u0648\u0631 \u0631\u0627 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f. \u0627\u06af\u0631 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u0646\u0635\u0628 \u0634\u062f\u0647 \u0628\u0627\u0634\u062f \u0628\u0627\u0634\u062f \u0635\u0641\u062d\u0647 \u062e\u0648\u0634 \u0622\u0645\u062f\u06af\u0648\u06cc\u06cc \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u00a0\u06af\u0627\u0645 \u0633\u0648\u0645: \u0646\u0635\u0628 Ond\u0159ej Sur\u00fd\u2019s PPA<\/strong><\/p>\n<p>\u0634\u0645\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f PHP 7.2 \u0631\u0627 \u0628\u0647 \u06a9\u0645\u06a9 Ond\u0159ej Sur\u00fd\u2019s PPA \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo\u00a0apt-get install software-properties-common python-software-properties<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0633\u067e\u0633 ondrej PPA \u0631\u0627 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u0645\u0646\u0627\u0628\u0639 \u0631\u0627 \u0628\u0647 \u0631\u0648\u0632 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo add-apt-repository -y ppa:ondrej\/php\r\n\r\nsudo apt-get update<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u06af\u0627\u0645 \u0686\u0647\u0627\u0631\u0645: \u0646\u0635\u0628 PHP 7.2<\/strong><\/p>\n<p>\u0628\u0647 \u06a9\u0645\u06a9 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 PHP 7. \u0631\u0627 \u0646\u0635\u0628 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo apt-get install php7.2 php7.2-cli php7.2-common<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u06af\u0627\u0645 \u067e\u0646\u062c\u0645: \u062c\u0633\u062a\u062c\u0648 \u0646\u0635\u0628 \u0627\u06a9\u0633\u062a\u0646\u0634\u0646 \u0647\u0627\u06cc \u062e\u0627\u0635 PHP 7.2<\/strong><\/p>\n<p>\u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u06a9\u0633\u062a\u0646\u0634\u0646 \u0647\u0627\u06cc \u062e\u0627\u0635 PHP \u0631\u0627 \u0647\u0645 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0647 \u06a9\u0645\u06a9 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u062f\u0646\u0628\u0627\u0644 \u0627\u06cc\u0646 \u0645\u0648\u0627\u0631\u062f \u0628\u06af\u0631\u062f\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo apt search php7.2<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u06af\u0627\u0645 \u0634\u0634\u0645: \u0646\u0635\u0628 \u0627\u06a9\u0633\u062a\u0646\u0634\u0646 \u0647\u0627\u06cc \u067e\u0631\u06a9\u0627\u0631\u0628\u0631\u062f<\/strong><\/p>\n<p>\u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0627\u06a9\u0633\u062a\u0646\u0634\u0646 \u0647\u0627\u06cc \u067e\u0631\u06a9\u0627\u0631\u0628\u0631\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u06a9\u0645\u06a9 \u0628\u06af\u06cc\u0631\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">sudo apt-get install php7.2-curl php7.2-gd php7.2-json php7.2-mbstring php7.2-intl php7.2-mysql php7.2-xml php7.2-zip<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>\u06af\u0627\u0645 \u0647\u0641\u062a\u0645: \u0628\u0631\u0631\u0633\u06cc \u0646\u0635\u0628 PHP<\/strong><\/p>\n<p>\u0627\u0632 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u062a\u0627 \u0646\u0633\u062e\u0647 PHP \u0646\u0635\u0628 \u0634\u062f\u0647 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u062e\u0648\u062f \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">php -v<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0627\u06cc\u062f \u062e\u0631\u0648\u062c\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">PHP 7.2.9-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Aug 19 2018 07:16:12) ( NTS )\r\n\r\nCopyright (c) 1997-2018 The PHP Group\r\n\r\nZend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies\r\n\r\n\u00a0\u00a0\u00a0 with Zend OPcache v7.2.9-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies<\/pre>\n<p>&nbsp;<\/p>\n<p>\u062e\u0648\u0628 \u062d\u0627\u0644\u0627 PHP 7.2 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 \u0646\u0635\u0628 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0627\u06af\u0631 \u0645\u06cc \u062e\u0648\u0627\u0647\u06cc\u062f \u0646\u0633\u062e\u0647 \u067e\u06cc\u0634 \u0641\u0631\u0636 PHP \u0631\u0627 \u0628\u0647 PHP 7.2 \u00a0\u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f \u0628\u0627\u06cc\u062f \u0646\u0633\u062e\u0647 \u0642\u062f\u06cc\u0645\u06cc \u0631\u0627 \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u0648 \u0646\u0633\u062e\u0647 \u062c\u062f\u06cc\u062f \u0646\u0635\u0628 \u0634\u062f\u0647 \u0631\u0627 \u0641\u0639\u0627\u0644 \u0646\u0645\u0627\u06cc\u06cc\u062f.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang:default decode:true \">Disable php 7.0\r\n\r\na2dismod php7.0\r\n\r\nEnable php 7.2\r\n\r\na2enmod php7.2<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646\u06a9\u0647 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647 \u0627\u0639\u0645\u0627\u0644 \u0634\u0648\u062f \u0628\u0627\u06cc\u062f \u0648\u0628 \u0633\u0631\u0648\u0631 \u0622\u067e\u0627\u0686\u06cc \u0631\u0627 \u0631\u06cc\u0633\u062a\u0627\u0631\u062a \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">systemctl restart apache2<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0631\u0627\u06cc \u062a\u0633\u062a \u0646\u0635\u0628 \u0648 \u0628\u0631\u0631\u0633\u06cc \u0622\u067e\u0627\u0686\u06cc\u060c PHP \u0648 \u0627\u06a9\u0633\u062a\u0646\u0634\u0646 \u0647\u0627\u06cc PHP\u00a0 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 php info \u062c\u062f\u06cc\u062f \u0627\u06cc\u062c\u0627\u062f \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">vi \/var\/www\/html\/phpinfo.php<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0645\u062d\u062a\u0648\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u0628\u062f\u0627\u0646 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php phpinfo(); ?&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0628\u0647 \u06a9\u0645\u06a9 \u0645\u0631\u0648\u0631\u06af\u0631 \u0648\u0628 \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"lang:default decode:true \">http:\/\/&lt;ip-address&gt;\/phpinfo.php or http:\/\/&lt;your-domain.com&gt;\/phpinfo.php<\/pre>\n<p>&nbsp;<\/p>\n<p>\u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0645\u0648\u062c\u0648\u062f \u062f\u0631\u0628\u0627\u0631\u0647 PHP \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u062e\u0648\u062f \u0645\u0634\u0627\u0647\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u062e\u0648\u0628 \u06a9\u0627\u0631 \u0634\u0645\u0627 \u062a\u0645\u0627\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;3115&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;1&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;Rate this post&quot;,&quot;legend&quot;:&quot;5\\\/5 - (1 \u0627\u0645\u062a\u06cc\u0627\u0632)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u0686\u06af\u0648\u0646\u0647 PHP 7.2 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0627\u0648\u0628\u0648\u0646\u062a\u0648 16.04 \u0646\u0635\u0628 \u06a9\u0646\u06cc\u0645\u061f&quot;,&quot;width&quot;:&quot;142.5&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-left: 5px\">\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-left: 5px\">\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-left: 5px\">\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-left: 5px\">\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-left: 5px\">\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: 142.5px;\">\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 5px\">\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            5\/5 - (1 \u0627\u0645\u062a\u06cc\u0627\u0632)    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc \u062f\u0627\u0646\u06cc\u062f PHP \u06cc\u06a9 \u0632\u0628\u0627\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0645\u062a\u0646 \u0628\u0627\u0632 \u0633\u0645\u062a \u0633\u0631\u0648\u0631 \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0627\u0635\u0644 \u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u0633\u0627\u06cc\u062a \u0647\u0627\u06cc \u062a\u0639\u0627\u0645\u0644\u06cc \u067e\u0648\u06cc\u0627 \u0637\u0631\u0627\u062d\u06cc \u0634\u062f. \u0627\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u0645\u062d\u0628\u0648\u0628 \u062a\u0631\u06cc\u0646\u00a0 \u0632\u0628\u0627\u0646 \u0647\u0627\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0633\u062a \u0648 \u0628\u0647 \u0637\u0648\u0631 \u0631\u0627\u06cc\u06af\u0627\u0646 \u0628\u0631\u0627\u06cc \u0627\u0635\u0644\u0627\u062d \u0648 \u062a\u0648\u0632\u06cc\u0639 \u0645\u062c\u062f\u062f \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u0627\u0641\u0631\u0627\u062f \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u062f. PHP \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u0627 &hellip;<\/p>\n","protected":false},"author":8,"featured_media":3116,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4,3],"tags":[2425,2156,2423,2426,2424],"class_list":["post-3115","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server-manage","category-web-articles","tag-php-7-2","tag-2156","tag--php","tag--php-7-2","tag--php---"],"views":"695","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/parry3-Of","jetpack_featured_media_url":"https:\/\/webide.ir\/blog\/wp-content\/uploads\/2018\/09\/0_DXs9_d4pVScNl4Uq.png","_links":{"self":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts\/3115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/comments?post=3115"}],"version-history":[{"count":0,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/posts\/3115\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/media\/3116"}],"wp:attachment":[{"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/media?parent=3115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/categories?post=3115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webide.ir\/blog\/wp-json\/wp\/v2\/tags?post=3115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}