Last login: Thu Aug 29 19:48:43 2024 from 204.152.80.155
ubuntu@futurecarib:~$ v-add-web-php 8.3
/usr/local/hestia/func/main.sh: line 1575: /usr/local/hestia/conf/hestia.conf: Permission denied
Multiple php versions are not supported for modphp
grep: /usr/local/hestia/conf/hestia.conf: Permission denied
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
Installing PHP-8.3, please wait… -
ERROR: Installation failed, please run the following command manually for debugging:
apt-get install php8.3-common php8.3-mbstring php8.3-bcmath php8.3-cli php8.3-curl
php8.3-fpm php8.3-gd php8.3-intl
php8.3-soap php8.3-xml php8.3-zip php8.3-bz2
php8.3-pspell php8.3-imagick php8.3-imap php8.3-ldap
cp: cannot create regular file ‘/etc/php/8.3/fpm/pool.d/’: No such file or directory
sed: can’t read /etc/php/8.3/fpm/pool.d/dummy.conf: No such file or directory
cp: cannot create regular file ‘/etc/php/8.3/fpm/’: No such file or directory
sed: can’t read /etc/php/8.3/fpm/php-fpm.conf: No such file or directory
sed: can’t read /etc/php/8.3/fpm/php.ini: No such file or directory
sed: can’t read /etc/php/8.3/fpm/php.ini: No such file or directory
sed: can’t read /etc/php/8.3/fpm/php.ini: No such file or directory
sed: can’t read /etc/php/8.3/fpm/php.ini: No such file or directory
sed: can’t read /etc/php/8.3/fpm/php.ini: No such file or directory
sed: can’t read /etc/php/8.3/cli/php.ini: No such file or directory
sed: can’t read /etc/php/8.3/fpm/php.ini: No such file or directory
sed: can’t read /etc/php/8.3/fpm/php.ini: No such file or directory
sed: can’t read /etc/php/8.3/fpm/php.ini: No such file or directory
cp: cannot create regular file ‘/usr/local/hestia/data/templates/web/php-fpm/PHP-8_3.tpl’: Permission denied
/usr/local/hestia/func/main.sh: line 1575: /usr/local/hestia/conf/hestia.conf: Permission denied
touch: cannot touch ‘/usr/local/hestia/data/users/admin/system.log’: Permission denied
wc: /usr/local/hestia/data/users/admin/system.log: Permission denied
/usr/local/hestia/func/main.sh: line 132: [: : integer expression expected
tail: cannot open ‘/usr/local/hestia/data/users/admin/system.log’ for reading: Permission denied
/usr/local/hestia/func/main.sh: line 146: /usr/local/hestia/data/users/admin/system.log: Permission denied
/usr/local/hestia/func/main.sh: line 100: /usr/local/hestia/log/system.log: Permission denied
ubuntu@futurib:~$
My comment was not accurate, I meant mpm_prefork and mod_php based on the error Multiple php versions are not supported for modphp but that message is only because you didn’t execute the command as root.
You can execute the command to install php 8.3, no problem, but do it as root.