In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Php7 how to install intl extension, for this question, this article describes in detail the corresponding analysis and answers, hoping to help more partners who want to solve this problem to find a simpler and easier way.
Php7 install intl extension method: 1, download icu source package; 2, extract icu and compilation installation; 3, download and extract php package; 4, enter the php decompression package directory, compile and install; 5, configuration files and startup files can be.
This article operating environment: Windows7 system, php7.0.8 version, DELL G3 computer
Environment
Php version: php7.0.8
IP:192.168.1.99
PHP intl is an international extension and a wrapper for the ICU library. So before installing the PHP intl extension, you should install ICU library one. Install the ICU library
1.1) download icu source code package
Wget http://download.icu-project.org/files/icu4c/52.1/icu4c-52_1-src.tgz
1.2) decompress icu and compile and install
Tar-zxf icu4c-52_1-src.tgzmkdir / usr/local/icucd icu/source./configure-- prefix=/usr/local/icumake & & make install II. Php compilation and installation
2.1) yum dependency package
Yum-y install gcc-c++ gd libxml2-devel libjpeg-devel libpng-devel net-snmp-devel curl-devel libxslt-devel pcre-devel libjpeg libpng libxml2 libcurl4-openssl-dev libcurl-devel libcurl libmysqlclient freetype-config freetype freetype-devel unixODBC libxslt make
Download and extract the php package
Http://php.net/downloads.php package download address
Tar-zxf php-7.0.8.tar.gz
2.3) enter the directory of the php package and compile and install it
Cd php-7.0.8
. / configure-- prefix=/usr/local/php708-- with-curl-- with-gd-- with-gettext-- with-iconv-dir-- with-kerberos-- with-libdir=lib64-- with-libxml-dir-- with-mysql-- with-mysqli-- with-openssl-- with-pcre-regex-- with-pdo-mysql-- with-pdo-sqlite-- with-pear-with-png-dir-- with-freetype-dir-- with-jpeg-dir-- with-xmlrpc-- With-xsl-with-zip-with-zlib-enable-fpm-enable-bcmath-enable-libxml-enable-inline-optimization-enable-gd-native-ttf-enable-mbregex-enable-mbstring-enable-opcache-enable-pcntl-enable-shmop-enable-soap-enable-sockets-enable-sysvsem enable-xml-enable-zip-enable-intl-with-icu-dir=/usr/local/icu
Make & & make install
2.4) configuration file and startup file
Cp php.ini-development / usr/local/php708/lib/php.inicp / usr/local/php708/etc/php-fpm.conf.default / usr/local/php708/etc/php-fpm.confcp / usr/local/php708/etc/php-fpm.d/www.conf.default / usr/local/php708/etc/php-fpm.d/www.confcp-R. / sapi/fpm/php-fpm / etc/init.d/php-fpm/etc/init.d/php-fpm
What are the PHP development environment building tools? phpStudy is the most commonly used development environment for beginners. Second, WampServer,WampServer is also as simple as phpStudy and more friendly to rookies. Third, XAMPP,XAMPP (Apache+MySQL+PHP+PERL) is a powerful integrated software package for building stations; fourth, MAMP,MAMP is divided into two types: MAMP and MAMP Pro for Mac. Pagoda panel, pagoda panel is a server management software that supports windows and linux systems. 6. UPUPW,UPUPW is the most characteristic Web server PHP suite under the Windows platform.
This is the answer to the question about how to install the intl extension in php7. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.