[ PHP81_okm ] Popular general-purpose scripting language

Discussion on apps, protocols, APIs, specifications, and more. You are welcome to join us as a TOS app developer!
User avatar
psviteri
Posts: 6
Joined: 29 May 2023, 16:17

Re: [ PHP81_okm ] Popular general-purpose scripting language

Post by psviteri »

Hi, I am nwe to linux so I am a bit lost.
Can you post detailled instructions on how to set the PATH variable for PHP81?, like which file, location and so?
Thanks
User avatar
psviteri
Posts: 6
Joined: 29 May 2023, 16:17

Re: [ PHP81_okm ] Popular general-purpose scripting language

Post by psviteri »

I have the same problem than momosa. I installed apache24, and php8.1, but the TOS5 web console keeps running php 7.4.
Any idea how to change to php8.1?
Thanks
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: [ PHP81_okm ] Popular general-purpose scripting language

Post by outkastm »

This app is not intended to replace the TOS5 php version and I don't recommend you to do this.

Is just used by other community apps that require php to run.

Interference of community apps with TOS is as low as possible
User avatar
tranqui69
Posts: 7
Joined: 13 Feb 2024, 17:50

Re: [ PHP81_okm ] Popular general-purpose scripting language

Post by tranqui69 »

Hello. I'm trying to install PHP81 on TOS 6 of my Terramaster f2.223 nas
I am doing it from my administrator account, but I am encountering the following error:

(Access denied !) - you need to login to TOS with an admin role account.

Does anyone know what this is due to?
Actually, the only thing I'm trying to do is use PDO or mysqli on my webserver, but I can't find a way.

Thank you
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: [ PHP81_okm ] Popular general-purpose scripting language

Post by outkastm »

Is because this app is not ready for TOS6 > 6.0.420 , wait for a new package with TOS6 in the package name
User avatar
tranqui69
Posts: 7
Joined: 13 Feb 2024, 17:50

Re: [ PHP81_okm ] Popular general-purpose scripting language

Post by tranqui69 »

OK. Thank You so much!
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: [ PHP81_okm ] Popular general-purpose scripting language

Post by outkastm »

TOS6 version is available now
User avatar
kstingel
Posts: 3
Joined: 19 Jun 2023, 13:45
Australia

Re: [ PHP81_okm ] Popular general-purpose scripting language

Post by kstingel »

outkastm wrote: 25 Jan 2025, 03:08 TOS6 version is available now
after recently upgrading from TOS 5.1.145 to TOS 6.0.530, many of your packages are showing permission errors despite me being logged in as the SuperUser account, I assume this is due to the internal TOS changes NOT your packages, as I have not had any issues prior to upgrading to TOS6

do I need to remove TOS5 instances before installing the TOS6 packages or will the TOS6 package overwrite (and fix) the broken TOS5 instances?
User avatar
outkastm
Gold Member
Posts: 1457
Joined: 29 Dec 2020, 23:52

Re: [ PHP81_okm ] Popular general-purpose scripting language

Post by outkastm »

Is about the apps that are not compatible with TOS6. Once TOS6 is installed, you need to install again the apps by using the packages that have TOS6 on their name. Note that some apps are not updated for TOS6
Post Reply

Return to “Developer Discussion Room”