In LINUX, PHP has been compiled and how to add the so extension. A sh: usrlocalphp5binphpize principle used: Use phpize In the compressed package to find the corresponding extension folder, execute phpize in it, the specific steps: PHP installation path: usrlocalphp5PHP source code path: homedefault7lampphp-5.5.13 Extension
In LINUX, PHP has been compiled and how to add the so extension. A sh:/usr/local/php5/bin/phpize principle is used: Use phpize to find the corresponding extension folder in the compressed package and execute phpize in it. The specific steps are as follows: PHP installation path:/usr/local/php5 PHP source code path:/home/default7/lamp/php-5.5.13 Extension
In LINUX, PHP has been compiled and how to add the so extension.
Sh:/usr/local/php5/bin/phpize
Principle: Use phpize to find the corresponding extension folder in the compressed package and execute phpize in it. The specific steps are as follows:
PHP installation path:/usr/local/php5
PHP source code path:/home/default7/lamp/php-5.5.13
Extension hypothesis zlib:/home/default7/lamp/php-5.5.13/ext/zlib
Run the Code:
Ln-s/usr/local/php5/bin/phpize/usr/bin/phpizmcm/home/default7/lamp/php-5.5.13/ext/zlibmv config0.m4 config. m4phpize // here prompt error, install bz2, bz2-develyum install bz2 bz2-devel. /configure -- with-php-config =/usr/local/php5/bin/php-configmakemake testmake installvim/etc/php. ini ## add extension = bz2.so
(By default7 # zbphp.com)