PHP Expansion Module Installation

Source: Internet
Author: User
Tags php error php error log zts


#cd/usr/local/src/
#wget https://codeload.github.com/phpredis/phpredis/zip/develop//Download Source package
#mv Develop Phpredis-develop.zip//modify Name
#unzip Phpredis-develop.zip//Decompression
#cd phpredis-develop/
#/usr/local/php/bin/phpize//Generate Configure File
#./configure--with-php-config=/usr/local/php/bin/php-config
#make
#make Install
Installing Shared extensions:/usr/local/php/lib/php/extensions/no-debug-zts-20131226/
#ls/usr/local/php/lib/php/extensions/no-debug-zts-20131226///Need is redis.so expansion module
Opcache.so redis.so
#/usr/local/php/bin/php-m//view support does not support Redis
#/usr/local/php/bin/php-i |grep Extension_dir//View extension Module storage directory, we can customize the path in php.ini
#vim/usr/local/php/etc/php.ini//Add a line configuration Extension = redis.so, can be placed on the last line of the file

#/usr/local/php/bin/php-m |grep Redis//view already supports Redis expansion module
Redis
/usr/local/src/php-5.6.32/ext/directory has a lot of so-called modules, if you need the module in the/ext directory, you can install in the/ext directory, such as no zip, can be installed directly in the EXT directory
#cd/usr/local/src/php-5.6.32/ext
#ls//See which modules are in the EXT directory
#cd zip/
#/usr/local/php/bin/phpize//Can be compiled and installed directly in the Zip directory
#./configure--with-php-config=/usr/local/php/bin/php-config
#make
#make Install
#ls/usr/local/php/lib/php/extensions/no-debug-zts-20131226/
opcache.so redis.so zip.so//You can see the addition of a zip.so extension module

Extended
Apache Rewrite tutorial http://coffeelet.blog.163.com/blog/static/13515745320115842755199/http://www.cnblogs.com/top5/ Archive/2009/08/12/1544098.html
Apache rewrite appears dead Loop http://ask.apelearn.com/question/1043
PHP error log level reference http://ask.apelearn.com/question/6973
PHP Open Short Tag http://ask.apelearn.com/question/120
PHP.ini detailed http://legolas.blog.51cto.com/2682485/493917

PHP Expansion Module Installation

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.