Page 4 of 5

Re: How to install multi PHP versions

Posted: Wed Apr 26, 2023 1:07 am
by Messiah
Unfortunately, it works only for nginx + apache config.
If installing (manually) some other php version from Sury package for Nginx + fpm config multiple folders will be found using
/etc/php/*/fpm/pool.d
pattern, thus the code
of
v-delete-web-domain-backend
and
prepare_web_backend() of domain.sh
like

Code: Select all

pool=$(find -L /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
if [ ! -e "$pool" ]; then
    echo "php-fpm pool doesn't exist"
fi
will fail to find the file and the error
Error: php-fpm pool doesn't exist
will occure. Any ideas how to install multiple FPM versions without Apache and not manually and not rewritng half of the panel code and web server configs? :?:

Re: How to install multi PHP versions

Posted: Wed Apr 26, 2023 9:35 am
by myVesta
Maybe this can help - viewtopic.php?t=710
But it's not for multiple but for one another version.

Re: How to install multi PHP versions

Posted: Thu May 25, 2023 11:35 am
by psp50
is old php version change or it will add new web template?
Please help.

Re: How to install multi PHP versions

Posted: Thu May 25, 2023 2:51 pm
by myVesta
psp50 wrote: Thu May 25, 2023 11:35 am is old php version change or it will add new web template?
Please help.
New templates will be added.

Re: How to install multi PHP versions

Posted: Sat Jun 10, 2023 8:23 pm
by jclick
I am little confused. I just want PHP 8.2 as a php version for myvesta.

Is the default installation have any option to install only 8.2 ?

Re: How to install multi PHP versions

Posted: Sat Jun 10, 2023 8:28 pm
by myVesta
jclick wrote: Sat Jun 10, 2023 8:23 pm I am little confused. I just want PHP 8.2 as a php version for myvesta.

Is the default installation have any option to install only 8.2 ?
just follow the tutorial from the first page of this topic.
put 1 on inst_82 line in editor
and run the script.

Re: How to install multi PHP versions

Posted: Sat Jul 01, 2023 8:39 pm
by mckaygerhard
What about if i want only one php version for normal vesta installation.. by example Debian 12 has php 8 only and i wants php 7

if you reply me with "use debian 11" yeah i like it cos i dont fall in stupidity of moderninsh .. inclusive i used debian 6 today.. but then; how can i add support fofr NON.APACHE crap ?

can i install multiphp env using only apache 2 ?

Re: How to install multi PHP versions

Posted: Sat Jul 01, 2023 8:43 pm
by mckaygerhard
Messiah wrote: Tue Mar 07, 2023 7:18 pm Also, there is one more point that nobody exactly noticed. Sury physically removed all Debian 9 and 8 packages, so every script based on this repository became broken (please check). If so, the community will appreciate any appropriate replacement of sury repository for this OS.
i track php 5.6 packages from debian Extended LTS support and Devuan trinity php packages and put into the venenux repository.. if you need

https://build.opensuse.org/project/show ... i:lamp-vnx

Posted: Sun Jul 02, 2023 10:45 am
by myVesta
mckaygerhard wrote: Sat Jul 01, 2023 8:43 pm
Messiah wrote: Tue Mar 07, 2023 7:18 pm Also, there is one more point that nobody exactly noticed. Sury physically removed all Debian 9 and 8 packages, so every script based on this repository became broken (please check). If so, the community will appreciate any appropriate replacement of sury repository for this OS.
i track php 5.6 packages from debian Extended LTS support and Devuan trinity php packages and put into the venenux repository.. if you need

https://build.opensuse.org/project/show ... i:lamp-vnx
We need some clarifications.
Is this Sury builds, just copied before he deleted it, or somebody is making fresh builds with fresh bugfixes?

Re:

Posted: Fri Sep 01, 2023 3:52 pm
by mckaygerhard
myVesta wrote: Sun Jul 02, 2023 10:45 am
mckaygerhard wrote: Sat Jul 01, 2023 8:43 pm
Messiah wrote: Tue Mar 07, 2023 7:18 pm Also, there is one more point that nobody exactly noticed. Sury physically removed all Debian 9 and 10 packages, so every script based on this repository became broken (please check). If so, the community will appreciate any appropriate replacement of sury repository for this OS.
i track php 5.6 packages from debian Extended LTS support and Devuan trinity php packages and put into the venenux repository.. if you need
https://build.opensuse.org/project/show ... i:lamp-vnx
We need some clarifications.
Is this Sury builds, just copied before he deleted it, or somebody is making fresh builds with fresh bugfixes?
sorry, i was traking the changes and also the changes of the DeVuan php repository that seems more light and flexible

i noted that myvesta still install in debian wheezy with minor changes.. so i decided to provide those packages...