I have compiled and installed multiple version of PHP on my system. When I compile my PHP, there are a few files that are not copied to to their location. For example, when I compile my PHP v7.1(PHP-FPM), its service file (./sapi/fpm/init.d.php-fpm
) is not copied to /etc/init.d
. Is there any way to do this automatically? or it has to be done manually?
P.S: I use something like this to compile and install my PHP:
./configure --prefix=/php7 --with-config-file-path=/php7/php --with-config-file-scan-dir=/php7/php/php.d --enable-fpm ....
make
make install