Discover how to install woocommerce extensions, include the articles, news, trends, analysis and practical advice about how to install woocommerce extensions on alibabacloud.com
The example in this article describes how PHP installs SSH2 extensions. Share to everyone for your reference, specific as follows:
wget http://www.libssh2.org/download/libssh2-1.4.2.tar.gz
tar-zxvf libssh2-1.4.2.tar.gz
cd libssh2-1.4.2
./configure--prefix=/usr/local/libssh2 make
make install
wget http://pecl.php.net/get/ Ssh2-0.12.tgz
tar-zxvf ssh2-0.12.tgz
cd ssh2-0.12 phpize./configure--prefix=/usr/
=american_america.zhs16gbk3 Setting Linux system environment variablesA. Modifying a file/etc/profileExport nls_lang= "American_america. ZHS16GBK "B. Changes to take effectSource/etc/profileC. Viewing system variablesenv | grep ' NLS 'Postscript1 The Windows System environment variable changes and requires a restart before it takes effectResources"1" PHP connection Oracle set character set, avoid garbledhttp://blog.csdn.net/linghao00/article/details/7401802"2" Using php OCI8 with 32-bit php on W
First, download the installation package
Redis Download
Click to download Redis http://download.redis.io/releases/redis-4.0.0.tar.gzRedis website Download Click to go to the official website https://redis.io/# #linux下载
[root@localhost ~]# wget http://download.redis.io/releases/redis-4.0.0.tar.gz1 2
phpredis Download [php extensions]
Click to download Https://codeload.github.com/phpredis/phpredis/zip/develop
GitHub View Redis https://github.com/phpr
The advantage of Redis is that it can improve the speed of website access, but PHP itself is not a redis extension, and we need to use Redis to install it manually, this article we will talk about how to install the Redis extension of PHP
1. Download the Redis extension for PHP
Open URL http://pecl.php.net/(PHP extensions), search Redis, go to address: Http://pe
Install PHP and related extensions in Ubuntu
1.
Download php's latest source code (to be registered) at http://php.net/downloads.phpand my version is php-5.3.8
2.
./Configure -- prefix =/usr/local/PhP5 -- with-apxs2 =/usr/local/apache2/bin/apxs -- With-mysql =/usr/local/MySQL-- With-config-file-Path =/usr/local/PhP5 -- With-zlib -- enable-mbstring = all -- With-mysqli =/usr/local/MySQL/bin/mysql_config --
Pcntl the extensions that the PHP implementation multi process must install, the extended installation steps are now written below.
One or two kinds of installation methods
1, recompile PHP's back configrue hint plus? enable-pcntl.2, do not recompile PHP, direct compilation installation Pcntl extension.
# cd/usr/local/src/php-5.2.6/ext/pcntl #
/usr/local/php/bin/phpize #
/configure? with-php-config=/usr
that contains FileInfo extensions, or download FileInfo to compile the package separately
Wget-o php-5.6.9.tar.gz Http://cn2.php.net/get/php-5.6.9.tar.gz/from/this/mirror
3. Decompression
TAR-ZXVF php-5.6.9.tar.gz
4. After the current directory is extracted, enter the following directory
CD php-5.6.9/ext/fileinfo/
5. Locate the command Phpize execute the build. Configure file in the bin directory of the previously compiled and installed PHP
I have
This article is mainly to share with you the Linux installation of the Redis extension of the method, I hope to help everyone.
1. Download PhpredisDownload Address: https://github.com/nicolasff/phpredis/archive/2.2.4.tar.gz2. Installing RedisUpload the phpredis-2.2.4.tar.gz to the/USR/LOCAL/SRC directory, then execute the command in turn:CD/USR/LOCAL/SRC #进入软件包存放目录Tar zxvf phpredis-2.2.4.tar.gz #解压CD phpredis-2.2.4 #进入安装目录/usr/local/php/bin/phpize #用phpize生成configure配置文件./configure--with-ph
# CD/USR/CHENSHAO/PHP-5.3.1/
Copy Code2. Enter the MySQL extension source directory you want to add:
# CD ext/mysql/
Copy Code2. Call the phpize in the compiled PHP:
#/usr/local/php5/bin/phpize
Copy Code3, then configure:
#./configure--with-php-config=/usr/local/php5/bin/php-config--with-mysql=/usr/local/mysql
(/usr/local/mysql is the MySQL installation directory)
Copy
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.