Configure the Environment:
Virtual machines: VMware Workstation 12.0; system: CentOS;
PHP and Apache are installed
PhpPHP configuration file:/etc/php.iniwww directory:/var/www (project to be placed under WWW under the HTML directory)
ApacheApache Installation path:/ETC/HTTPD
"1" Download Phpredis's installation package
to the http://redis.io/clients#php download, select Phpredis, click the link to download the installation package
"2" uses xftpportable to connect to the virtual machine and
How to install ssh2 extension in php [Linux platform] And phpssh2linux Platform
This article describes how to install the ssh2 extension in php. We will share this with you for your reference. The details are as follows:
Wget http://www.libssh2.org/download/libssh2-1.4.2.tar.gztar-zxvf libssh2-1.4.2.tar.gzcd libssh2-
Compile and install PHP5.X extension apache-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. Download Directory:/home/ben/PHP5.2.6.tar.gz
2. Enter the php decompression directory on cd.
3. sudo ../php-5.2.6/configure -- prefix =/opt/php
-- With-mysql =/opt/mysql
-- With-apxs2 =/opt/apache/bin/apxs
-- With-config-file-path =/opt/php/etc
-- Enable-
PhpforLinux mysqli extension module installation and configuration cd/root/php-5.6.8/ext/mysqli
/Usr/local/php/bin/phpize
./Configure -- with-php-config =/usr/local/php/bin/php-config -- with-mysqli =/usr/local/mysql/bin/mysql_config
Make make install
Edit/usr/local/php/lib/php. ini and add the following content:
Extension_dir = "/usr/local/php/lib/php/extensions/no-debug-zts-20131226
Chinese characters. Unlike English Words, words are separated by spaces. Therefore, accurate and fast word segmentation has always been a challenge for Chinese word segmentation.
Due to the use of PHPCMS, the website configuration found such an automatic Chinese word segmentation, good things can not be used. Now we will record the installation process in detail. Most of the text is from the official website of SCWS. I just added some differences in the actual operation process to facilitate mo
Libevent is an event-driven, high-performance network library.Supports multiple I/O multiplexing Technologies, Epoll, poll, Dev/poll, select, and Kqueue, support for events such as I/O, timers and Signals, and register event priorities.Effectively arranging I/O, time and signal expansion using events that are available for the best I/O notification mechanism for a particular platform, is the libevent port of the PHP infrastructure.The libevent extension
#./configure# Make make installTips:Build complete.Don ' t forget to run ' make test '.Installing Shared extensions:/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/Indicates successful installation2, PHP load swoole extensionExtension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/"Extension=swoole.so3. Restart ServiceService PHP-FPM RestartService Nginx Restart4. Test and view phpinfo information as shown in:5. Code T
System Windows7Integrated environment XAMPP 1.8.3Php-mongo.dll http://pecl.php.net/package/mongo/1.6.0RC2/windows Select the corresponding version downloadPut Php-mongo.dll into the PHP ext folder to modify the php.ini.But there was a problem with the PHP warning:php startup:in Unknown on line 0 when installing MongoDB extensionsVersion no problem PHP version is 5.5.11 and Php-mongo.dll version is the sameThere's no problem with Extension_dir in php.ini.And in Cmd, php-m found that the
For details about how to install memcached in PHP, refer to general Linux technology-Linux technology and application information. When I install the PHP extension module memcached, the following message is always displayed: Why? How can I solve this problem? Thank you.
#./Configure -- with-php-config =/usr/local/php/bin/php-config -- with-libevent =/usr/local/li
When the Mac system is upgraded to 10.9 (Mavericks), the PHP extension is installed and the phpize prompts for the following error:
Cannot find autoconf. Please check your autoconf installation
and the $PHP _autoconf environment variable.
Solutions
Install Homebrew First:
Ruby-e "$ (curl-fssl https://raw.github.com/Homebrew/homebrew/go/install)"
Moved
Centos6 how to use yum to install phpmysql and gd extension libraries
# Yum-y install mysql-server mysql-devel
Configure mysql boot service
# Chkconfig -- add mysqld (add mysql service to the service list)
# Chkconfig mysqld on (set mysql service to start with startup)
# Service mysqld start (start mysql se
, configure the environment variables and add D: \ Program Files \ Git \ bin to the Path environment variable.
Installation Method
Yii2-detail-view
Official notes:
Installation The preferred way to install this extension is through composer.Either run:$ php composer.phar require kartik-v/yii2-detail-view "*"or add:"kartik-v/yii2-detail-view": "*"to the require section of your composer.json file.
This meth
We want to use Memcache as the database cache layer, naturally to make it combined with PHP, we installed the Memcache service end, we need toTo install the Memcache client, install the memcache extension to connect PHP so that memcache can communicate with PHP.However, I encountered problems in the installation, using the Make command has been an error, showing:
.# cd FastDFS
3.# ./make.sh
4.# ./make.sh install
5.# cd client
6.# make
7.# make install
8.# cd ../php_client
If the above is not installed, directly go to the php_client directory for compilation and installation, and the following error will be reported (if an error is reported, change the version ):Make: *** [fastdfs_client.lo] Error 1
1.# /usr/local/php/bin/phpize // Execute phpize in the php in
Redis installation Download, extractandcompileRediswith: drawing $ cdredis-3.0.4 $ makeThebinariesthataren... A: redis installation
Download, extract and compile Redis:
$ Wget http://download.redis.io/releases/redis-3.0.4.tar.gz
$ Tar xzf redis-3.0.4.tar.gz
$ Redis-3.0.4 cd
$ Make
The binaries that are now compiled are available in the src directory. Run Redis:
$ Src/redis-server
You can interact with Redis using the built-in client:
$ Src/redis-cli
Redis> set foo barOKRedis> get foo"Bar"More:
method One:
1, press Win+r key, open run, enter sysdm.cpl, click OK;
2, in the Open System Properties page, switch to the "Advanced" item, click the "Environment variable" button below;
3, in the System variable box to find and double-click the hit "TEMP", the variable value modified to "%systemroot%temp" click OK, and then click OK.
Method Two: Security sandbox causes
1, right click on the desktop 360 browser icon, select "Properties";
2, in the Open property page, sw
If you are installing the Lnmp1.3full one-click installation package, the installation is php5.6.22, you will encounter this error, the solution is not difficult, please see as follows:No need to download extensions, just go to this FileInfo directory (I have multiple version 5.6,7 versions here)For example, enter the 5.6 version directory Cd/usr/local/src/lnmp1.3-full/src/php-5.6.22/ext/fileinfo(Generally there is no this folder php-5.6.22, according to your corresponding PHP version, to extrac
Install MongoDB PHP extension on window, windowmongodb1. Download
Github provides a pre-compiled php mongodb driver Binary Package (: php_mongo) for the window platform. You can download the version corresponding to php in the actual environment. I set up the environment in PHP version 5.6.11, So download php mongodb driver Binary Package for php_mongo-1.6.8.zip.
There are many dll files with different fi
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.