Install php extension module phpize

Source: Internet
Author: User
Install php extension module phpize one way to install PHP modules is to recompile PHP with relevant parameters. One way is to use phpize, such as eaccelerator and memcache. This is convenient and PHP does not need to be re-compiled, you can also enable or disable phpize at any time. here we will describe how to install phpize... "/> <scripttype =" text/javascri

Install php extension module phpize

One way to install the PHP module is to add relevant parameters to recompile PHP
One is to use phpize, such as eaccelerator and memcache, which is convenient and can be enabled or disabled at any time without re-compiling PHP.

How to use phpize
This file will be available in the system where PHP is installed. in wdlinux, this file is stored in
/Www/wdlinux/php/bin/phpize

Then enter the source code directory to be compiled, and then run the above phpize to generate the corresponding configuration, and then run the configuration to complete the compilation.
For example
Tar zxvf eaccelerator-0.9.6.1.tar.bz2
Cd eaccelerator-0.9.6.1
/Www/wdlinux/php/bin/phpize
./Configure -- with-php-config =/www/wdlinux/php/bin/php-config
Make
Make install

As long as there is no error, after the execution is complete, the module is installed.
One may need to be configured or set
You can modify the php. ini file, as shown in figure
Vi/www/wdlinux/etc/php. ini

 

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.