Install phpize in the php extension module. Install php extension module phpize one way to install the PHP module is to recompile PHP with relevant parameters one way is to use phpize, such as eaccelerator, memcache, etc., this is more convenient, phpize without installing the php Extension Module
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
One way to install the PHP module in composer is to add relevant parameters to recompile PHP. The other is to use phpize, such as eaccelerator and memcache. This is convenient and does not need to be used...