This applies to all versions of PHP. Only PHP 8.3 was installed.
v1.9.0~beta1
Debian 12
How to solve the problem?
v-add-web-php 5.6 sed: -e expression #1, char 17: unknown command: `/’ Installing PHP-5.6, please wait… - ERROR: Installation failed, please run the following command manually for debugging: apt-get install cp: cannot create regular file ‘/etc/php/5.6/fpm/pool.d/’: No such file or directory sed: can’t read /etc/php/5.6/fpm/pool.d/dummy.conf: No such file or directory cp: cannot create regular file ‘/etc/php/5.6/fpm/’: No such file or directory sed: can’t read /etc/php/5.6/fpm/php-fpm.conf: No such file or directory sed: can’t read /etc/php/5.6/fpm/php.ini: No such file or directory sed: can’t read /etc/php/5.6/fpm/php.ini: No such file or directory sed: can’t read /etc/php/5.6/fpm/php.ini: No such file or directory sed: can’t read /etc/php/5.6/fpm/php.ini: No such file or directory sed: can’t read /etc/php/5.6/fpm/php.ini: No such file or directory sed: can’t read /etc/php/5.6/cli/php.ini: No such file or directory sed: can’t read /etc/php/5.6/fpm/php.ini: No such file or directory sed: can’t read /etc/php/5.6/fpm/php.ini: No such file or directory sed: can’t read /etc/php/5.6/fpm/php.ini: No such file or directory
I’ve noticed that installing with --multiphp yes option only installed PHP 8.3 and 8.4. Is this default now/what is the syntax for legacy versions 5.6/7.X? I can file issue if needed. Thanks.
Looks like I was able to manually install via “apt install php7.4-fpm”, as v-add-web-php seems to throw errors:
root@local:/home/debian# v-add-web-php 7.4
sed: -e expression #1, char 17: unknown command: `/'
Installing PHP-7.4, please wait...
-
ERROR: Installation failed, please run the following command manually for debugging:
apt-get install
^[[A^[[A^[[B^[[Bcp: cannot create regular file '/etc/php/7.4/fpm/pool.d/': No such file or directory
sed: can't read /etc/php/7.4/fpm/pool.d/dummy.conf: No such file or directory
cp: cannot create regular file '/etc/php/7.4/fpm/': No such file or directory
sed: can't read /etc/php/7.4/fpm/php-fpm.conf: No such file or directory
sed: can't read /etc/php/7.4/fpm/php.ini: No such file or directory
sed: can't read /etc/php/7.4/fpm/php.ini: No such file or directory
sed: can't read /etc/php/7.4/fpm/php.ini: No such file or directory
sed: can't read /etc/php/7.4/fpm/php.ini: No such file or directory
sed: can't read /etc/php/7.4/fpm/php.ini: No such file or directory
sed: can't read /etc/php/7.4/cli/php.ini: No such file or directory
sed: can't read /etc/php/7.4/fpm/php.ini: No such file or directory
sed: can't read /etc/php/7.4/fpm/php.ini: No such file or directory
sed: can't read /etc/php/7.4/fpm/php.ini: No such file or directory