{"id":614,"date":"2023-02-26T10:54:57","date_gmt":"2023-02-26T02:54:57","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=614"},"modified":"2023-04-29T20:19:19","modified_gmt":"2023-04-29T12:19:19","slug":"install-intl-and-xsl-extensions-for-php7","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/02\/26\/install-intl-and-xsl-extensions-for-php7\/","title":{"rendered":"PHP7\u5b89\u88c5intl\u548cxsl\u6269\u5c55"},"content":{"rendered":"<p>\u80cc\u666f\uff1a\u89e3\u51b3magento2\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u7f3a\u5c11php\u6269\u5c55\u7684\u95ee\u9898\uff1aext-intl\u548cext-xsl<\/p>\n<p><!-- more --><\/p>\n<pre><code class=\"language-shell\">Loading composer repositories with package information\nInstalling dependencies (including require-dev) from lock file\nYour requirements could not be resolved to an installable set of packages.\n\n  Problem 1\n    - The requested PHP extension ext-intl * is missing from your system. Install or enable PHP&#039;s intl extension.\n  Problem 2\n    - The requested PHP extension ext-xsl * is missing from your system. Install or enable PHP&#039;s xsl extension.<\/code><\/pre>\n<h2>intl<\/h2>\n<pre><code class=\"language-shell\"># yum -y install libicu-devel\n# cd soft\/php-7.1.6\/ext\/intl\n# phpize\n# .\/configure --enable-intl --with-php-config=\/data\/server\/php7\/bin\/php-config\n# make\n# make install<\/code><\/pre>\n<h2>xsl<\/h2>\n<pre><code class=\"language-shell\"># yum -y install libxslt libxslt-devel\n# cd soft\/php-7.1.6\/ext\/xsl\n# phpize\n# .\/configure --with-xsl --with-php-config=\/data\/server\/php7\/bin\/php-config\n# make\n# make install<\/code><\/pre>\n<h2>php.ini<\/h2>\n<pre><code>extension=xsl.so\nextension=intl.so<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u80cc\u666f\uff1a\u89e3\u51b3magento2\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u7f3a\u5c11php\u6269\u5c55\u7684\u95ee\u9898\uff1aext-intl\u548cext-xsl Loading c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[],"class_list":["post-614","post","type-post","status-publish","format-standard","hentry","category-php-basic"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=614"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/614\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}