Predetermined php  [SOLVED]

Discussions about the usage of KeyHelp.
Post Reply
lmarcos
Posts: 78
Joined: Sun 26. Jan 2020, 12:55

Predetermined php

Post by lmarcos »

Hi,

Is there any way to switch predetermined operating system within Keyhelp?

Command line is using predetermined php interpreter and I can't see how to update in ndex.php?page=admin_configuration&configure=php_interpreter

None of the domains are using the old php.
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: Predetermined php

Post by 24unix »

If you have installed additional interpreters they are available as e.g. keyhelp-php74 or keyhelp-php81.

Don't install other versions or rename anything, else KeyHelp is broken.

Workaround: viewtopic.php?p=37825#p37825
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
lmarcos
Posts: 78
Joined: Sun 26. Jan 2020, 12:55

Re: Predetermined php

Post by lmarcos »

So I would need to run keyhelp-php74 whateverthename.php instead of php whateverthename.php, right?
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: Predetermined php

Post by 24unix »

lmarcos wrote: Sun 5. Feb 2023, 16:41 So I would need to run keyhelp-php74 whateverthename.php instead of php whateverthename.php, right?
Yes.
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
lmarcos
Posts: 78
Joined: Sun 26. Jan 2020, 12:55

Re: Predetermined php  [SOLVED]

Post by lmarcos »

Thanks for the workaround.
I'm having an error with just that, so I ended with keyhelp-php74 --define apc.enable_cli=1

This was the error.
OCP\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: Predetermined php

Post by 24unix »

lmarcos wrote: Sun 5. Feb 2023, 17:07 Thanks for the workaround.
I'm having an error with just that, so I ended with keyhelp-php74 --define apc.enable_cli=1

This was the error.
OCP\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
I had the same error for my phpbb_update script, and I fixed it like you did.

viewtopic.php?t=11286&hilit=phpbb_update
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Post Reply