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