Re: php 7.4 and bookworm
Mostly its with apache and the freepbx application which uses a lot of php applications which were originally installed with php 7.4 and then Debian upgraded all of them to php 8.2. I have already changed the php.default to 7.4 and changed the mods-enabled in apache to php7.4 rather than 8.2. On Wed, 28 Jun 2023 19:18:45 -0400, Greg Wooledge wrote: > > On Wed, Jun 28, 2023 at 07:15:05PM -0400, John Covici wrote: > > OK, so I installed the repo, and got php7.4, but there are still lots > > of php82 packages installed. Do I have to install php7.4 equivalents > > to each package? Any shorthand way to do the whole lot? > > At this point, you need to reveal how you are using PHP, and which > packages are installed. Are you using apache, nginx, or some other > web server? Are you using php-fpm, or some kind of "modular" PHP > specific to a particular web server? Or something else? > -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
Re: php 7.4 and bookworm
On Wed, Jun 28, 2023 at 07:15:05PM -0400, John Covici wrote: > OK, so I installed the repo, and got php7.4, but there are still lots > of php82 packages installed. Do I have to install php7.4 equivalents > to each package? Any shorthand way to do the whole lot? At this point, you need to reveal how you are using PHP, and which packages are installed. Are you using apache, nginx, or some other web server? Are you using php-fpm, or some kind of "modular" PHP specific to a particular web server? Or something else?
Re: php 7.4 and bookworm
OK, so I installed the repo, and got php7.4, but there are still lots of php82 packages installed. Do I have to install php7.4 equivalents to each package? Any shorthand way to do the whole lot? On Wed, 28 Jun 2023 04:57:42 -0400, basti wrote: > > Hello, > > you can hold the packages or you can use https://deb.sury.org/ > > On 28.06.23 10:46, John Covici wrote: > > Hi. So, I want to upgrade to bookworm, but I have an application > > which needs php 7.4 and I guess they are not yet ready to fix. So, > > how can I keep that version, even if its just for that app? > > > > Thanks in advance for any suggestions. > > > -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
Re: php 7.4 and bookworm
On Wed, Jun 28, 2023 at 10:15:14PM +0200, basti wrote: > if you use mod-php in apache you can use only one php version. > if you use php-fpm you can run multiple php version at the same time. Ah, that explains our differing experiences, then.
Re: php 7.4 and bookworm
https://packages.sury.org/php/README.txt after add the repo install your needed php7.4-* packages if you use mod-php in apache you can use only one php version. if you use php-fpm you can run multiple php version at the same time. test your app with a phpinfo side. but that was not the topic Am 28.06.23 um 22:01 schrieb John Covici: OK, so php was upgraded from 7.4 to 8.2 -- how to get 7.4 back after upgrading to bookworm? How would I use https://deb.sury.org ? Thanks. On Wed, 28 Jun 2023 04:57:42 -0400, basti wrote: Hello, you can hold the packages or you can use https://deb.sury.org/ On 28.06.23 10:46, John Covici wrote: Hi. So, I want to upgrade to bookworm, but I have an application which needs php 7.4 and I guess they are not yet ready to fix. So, how can I keep that version, even if its just for that app? Thanks in advance for any suggestions.
Re: php 7.4 and bookworm
After upgrading to bookworm I get the following error: odbcinst: SQLInstallDriverEx failed with Unable to find component name. What does this mean -- google could not even find this error. Thanks in advance for any suggestions. On Wed, 28 Jun 2023 04:57:42 -0400, basti wrote: > > Hello, > > you can hold the packages or you can use https://deb.sury.org/ > > On 28.06.23 10:46, John Covici wrote: > > Hi. So, I want to upgrade to bookworm, but I have an application > > which needs php 7.4 and I guess they are not yet ready to fix. So, > > how can I keep that version, even if its just for that app? > > > > Thanks in advance for any suggestions. > > > -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
Re: php 7.4 and bookworm
OK, so php was upgraded from 7.4 to 8.2 -- how to get 7.4 back after upgrading to bookworm? How would I use https://deb.sury.org ? Thanks. On Wed, 28 Jun 2023 04:57:42 -0400, basti wrote: > > Hello, > > you can hold the packages or you can use https://deb.sury.org/ > > On 28.06.23 10:46, John Covici wrote: > > Hi. So, I want to upgrade to bookworm, but I have an application > > which needs php 7.4 and I guess they are not yet ready to fix. So, > > how can I keep that version, even if its just for that app? > > > > Thanks in advance for any suggestions. > > > -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
Re: php 7.4 and bookworm
Thanks everyone. I will do the upgrade and see if it retains php 7.4. On Wed, 28 Jun 2023 07:01:51 -0400, Greg Wooledge wrote: > > On Wed, Jun 28, 2023 at 04:46:24AM -0400, John Covici wrote: > > Hi. So, I want to upgrade to bookworm, but I have an application > > which needs php 7.4 and I guess they are not yet ready to fix. So, > > how can I keep that version, even if its just for that app? > > In previous releases, whenever I've upgraded a machine that runs PHP, > the upgraded system has automatically continued using the old PHP > version. Getting it to use the *new* version is what requires actual > steps to be taken. > > I can't promise it's the same for bookworm (I haven't done that upgrade > on a PHP system yet), but it has been true in the past. > -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
Re: php 7.4 and bookworm
On Wed, Jun 28, 2023 at 04:46:24AM -0400, John Covici wrote: > Hi. So, I want to upgrade to bookworm, but I have an application > which needs php 7.4 and I guess they are not yet ready to fix. So, > how can I keep that version, even if its just for that app? In previous releases, whenever I've upgraded a machine that runs PHP, the upgraded system has automatically continued using the old PHP version. Getting it to use the *new* version is what requires actual steps to be taken. I can't promise it's the same for bookworm (I haven't done that upgrade on a PHP system yet), but it has been true in the past.
Re: php 7.4 and bookworm
Hi, On Wed, Jun 28, 2023 at 04:46:24AM -0400, John Covici wrote: > Hi. So, I want to upgrade to bookworm, but I have an application > which needs php 7.4 and I guess they are not yet ready to fix. So, > how can I keep that version, even if its just for that app? In <43ff5524-4d41-b570-c592-69af0c339...@list-post.mks-mail.de> Markus Schönhaber mentioned the various packaged versions of P{HP maintained by Ondřej Surý at https://sury.org/ https://lists.debian.org/debian-user/2023/06/msg00962.html I haven't used them myself but they have a good reputation and in the absence of upstream PHP providing that, are probably the best you'll get. Cheers, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
Re: php 7.4 and bookworm
Hello, you can hold the packages or you can use https://deb.sury.org/ On 28.06.23 10:46, John Covici wrote: Hi. So, I want to upgrade to bookworm, but I have an application which needs php 7.4 and I guess they are not yet ready to fix. So, how can I keep that version, even if its just for that app? Thanks in advance for any suggestions.