Page 2 of 2

Re: Cannot get ZM 1.36 to work

Posted: Thu Apr 20, 2023 1:35 pm
by Magic919
Try this and look for the module -

a2query -m

You need the php Apache module for it to work.

Re: Cannot get ZM 1.36 to work

Posted: Thu Apr 20, 2023 3:49 pm
by smacgre
Is it the wrong version of php ...?

stuart@stuart-PC-X010178:~$ a2query -m
autoindex (enabled by maintainer script)
reqtimeout (enabled by maintainer script)
env (enabled by maintainer script)
php7.4 (enabled by maintainer script)
authz_core (enabled by maintainer script)
access_compat (enabled by maintainer script)
authn_file (enabled by maintainer script)
mime (enabled by maintainer script)
filter (enabled by maintainer script)
rewrite (enabled by site administrator)
expires (enabled by site administrator)
authn_core (enabled by maintainer script)
negotiation (enabled by maintainer script)
auth_basic (enabled by maintainer script)
setenvif (enabled by maintainer script)
mpm_prefork (enabled by maintainer script)
deflate (enabled by maintainer script)
headers (enabled by site administrator)
cgi (enabled by site administrator)
dir (enabled by maintainer script)
status (enabled by maintainer script)
authz_host (enabled by maintainer script)
authz_user (enabled by maintainer script)
alias (enabled by maintainer script)
stuart@stuart-PC-X010178:~$

Re: Cannot get ZM 1.36 to work

Posted: Thu Apr 20, 2023 4:26 pm
by Magic919
I’m sure it’s the same one I’m using. Are sure you use the full module name.

Re: Cannot get ZM 1.36 to work

Posted: Thu Apr 20, 2023 4:34 pm
by smacgre
>> Are sure you use the full module name.
I don't use anything myself, just the zm software out of the box

Re: Cannot get ZM 1.36 to work

Posted: Thu Apr 20, 2023 4:48 pm
by Magic919
Try running the a2enmod command with the full module name.

Re: Cannot get ZM 1.36 to work

Posted: Fri Apr 21, 2023 8:44 am
by smacgre
sudo a2enmod php7.4
ERROR: /etc/apache2/mods-enabled/php7.4.load is a dangling symlink!
ERROR: Module php7.4 does not exist!

If I knew anything about apache, this might be a clue?

Re: Cannot get ZM 1.36 to work

Posted: Fri Apr 21, 2023 8:51 am
by Magic919
I'd suggest working through the Wiki install process linked to.

For a quick thing, try - installing libapache2-mod-php

Re: Cannot get ZM 1.36 to work

Posted: Fri Apr 21, 2023 9:37 am
by smacgre
synaptic package manager shows libapache2-mod-php8.1 installed with apache2 server 2.4.52-1ubuntu4.4

if that makes things any clearer.
I removed the dangling symbolic link, to no benefit.

Re: Cannot get ZM 1.36 to work

Posted: Fri Apr 21, 2023 10:41 am
by Magic919
Not really. Sounds like the system is in a mess.

Have you tried enabling the php module version it claims is installed? Do that if not.

Re: Cannot get ZM 1.36 to work

Posted: Fri Apr 21, 2023 11:44 am
by smacgre
sudo a2enmod php8.1
ran and after "systemctl restart apache2", "a2query -m" showed "php8.1 (enabled by site administrator)".
However running zm (http://stuart-pc-x010178/zm) in the browser still prints a script, rather than executing it.

Finally: using a different browser (chromium instead of firefox) WORKED!
Perhaps firefox needs settings changed - I'll explore.

Re: Cannot get ZM 1.36 to work

Posted: Fri Apr 21, 2023 12:35 pm
by Magic919
Might just be cache in Firefox.