Hello,
I'm newbee in zm and in general not well experienced in linux. I'm trying to figure out zm, I just read from last blog post (but blog is from 2022) that zm should work on downgraded ver of php. I did installation on Debian 12 according to installation guideline from zm website, everything went good beside that website is not working well. Then I found last blog post about php 8.2 not supporting zm well.
Question: what version is the best to install for zm?
I need to fix this first before I ask why something is not working yet as expected.
Thank you for your support
Dan
PHP ver reccomended
-
- Posts: 1322
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: PHP ver reccomended
Usually that sort of thing is fixed pretty quickly...
If you're on a current version, php8.1 oughtta work.
If you're on a current version, php8.1 oughtta work.
Re: PHP ver reccomended
I have PHP 8.2.20 installed
Website works little strange or more than "little strange". when click on "Montage" service hangs, so I can not send any other query for example change to another menu console for example, I must close window tab and reopen. I can not wach monitors review etc...
I use Debian on proxmox installation, 20 cores and put 64GB of RAM just for tests, all memory is used, so I don;t know how to set correctly amount of memory for example, or maybe it happens because running zm on VM? so first I would like to know if my version of php is compatible
Thank you
Dan
Website works little strange or more than "little strange". when click on "Montage" service hangs, so I can not send any other query for example change to another menu console for example, I must close window tab and reopen. I can not wach monitors review etc...
I use Debian on proxmox installation, 20 cores and put 64GB of RAM just for tests, all memory is used, so I don;t know how to set correctly amount of memory for example, or maybe it happens because running zm on VM? so first I would like to know if my version of php is compatible
PHP 8.2.20 (cli) (built: Jun 17 2024 13:33:14) (NTS)
Thank you
Dan
Re: PHP ver reccomended
We support php 7.2 through 9.
Hanging in montage is likely due to having more than 4 cameras. You need to setup multi-port.
https://wiki.zoneminder.com/Multi_Port
Hanging in montage is likely due to having more than 4 cameras. You need to setup multi-port.
https://wiki.zoneminder.com/Multi_Port
-
- Posts: 9
- Joined: Sat Sep 14, 2024 3:01 pm
Re: PHP ver reccomended
You're right; PHP version compatibility can be a bit tricky with ZM. The blog you read is correct; as of 2022, ZoneMinder had some compatibility issues with PHP 8.2, and most stable installations are typically done using PHP 7.4 or 8.0.rubel1973 wrote: ↑Thu Aug 08, 2024 7:46 am Hello,
I'm newbee in zm and in general not well experienced in linux. I'm trying to figure out zm, I just read from last blog post (but blog is from 2022) that zm should work on downgraded ver of php. I did installation on Debian 12 according to installation guideline from zm website, everything went good beside that website is not working well. Then I found last blog post about php 8.2 not supporting zm well.
Question: what version is the best to install for zm?
I need to fix this first before I ask why something is not working yet as expected.
Thank you for your support
Dan
Since you're on Debian 12, I’d recommend downgrading to PHP 8.0 for the best compatibility with ZM. This version is known to work more reliably with ZM without the issues associated with newer PHP versions. To downgrade, you’ll need to remove the existing PHP packages and then install PHP 8.0 from the appropriate repository.
Once you have PHP 8.0 installed, restart your web server, and things should start to work more smoothly.
Re: PHP ver reccomended
Do not listen to the AI.
Run whatever php debian comes with. Do not muck around with it.
Run whatever php debian comes with. Do not muck around with it.