[ 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
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

[ PHP81_okm ] Popular general-purpose scripting language

Post by outkastm »

Image

About : https://www.php.net/

Applicable models: x.64 series
Applicable TOS4: 4.1.27 or later versions
Applicable TOS5: 5.0.176 or later versions
App download: https://tmnascommunity.eu/download/php81/

Required packages:
apache24 > 2.4.54.1

Module WebUI for additional settings can be accesses at
http(s)://yournasip:port/modules/PHP81_okm/www

Include extensions

Code: Select all

apcu.so    calendar.so  fileinfo.so  gettext.so  ldap.so       mcrypt.so     mongodb.so  openssl.so    pdo_mysql.so  pdo.so         phar.so   redis.so      soap.so     xattr.so  zlib.so
bcmath.so  dba.so       filter.so    imagick.so  mailparse.so  memcached.so  odbc.so     pcntl.so      pdo_odbc.so   pdo_sqlite.so  raphf.so  shmop.so      sqlite3.so  xsl.so
bz2.so     exif.so      ftp.so       imap.so     mbstring.so   memcache.so   opcache.so  pdo_dblib.so  pdo_pgsql.so  pgsql.so       rar.so    smbclient.so  wddx.so     zip.so
How to manully install this app on TerraMaster application store?
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ PHP81 ][8.1.2.0] Popular general-purpose scripting language

Post by outkastm »

added initial version
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ PHP81 ] Popular general-purpose scripting language

Post by outkastm »

added TOS5 version
User avatar
sanctimon
Posts: 98
Joined: 14 Nov 2021, 06:57

Re: [ PHP81_okm ] Popular general-purpose scripting language

Post by sanctimon »

Is this installation advice correct?

Code: Select all

include_path = ".:/usr/local/PHP81_okm/sys/lib/php"
In TOS 5, there is no such path in the installation. There is:

Code: Select all

cd /usr/local/PHP81_okm/sys/lib/
[username@TNAS-17FF lib]# ls
build  extensions  libphp.so
and

Code: Select all

[sanctimon@TNAS-17FF sys]# cd /usr/local/PHP81_okm/sys/bin/
[sanctimon@TNAS-17FF bin]# ls
phar  phar.phar  php  php-cgi  php-config  phpdbg  php-fpm  phpize
User avatar
momosa
Posts: 13
Joined: 14 Apr 2023, 14:46

Re: [ PHP81_okm ] Popular general-purpose scripting language

Post by momosa »

{L_BUTTON_AT}outkastm

The system has php74 by default. How to make the Web server of the TerraMaster Application Center support PHP81_okm? And when I run PHP81_okm/sys/bin/php directly, it prompts that many so libraries do not support it. I am very troubled. Can this support the Web server application?
User avatar
mikemorris
Posts: 1
Joined: 14 Jun 2023, 17:17

Re: [ PHP81_okm ] Popular general-purpose scripting language

Post by mikemorris »

Confirm PHP version: Make sure that PHP 8.1_okm is installed correctly on your TerraMaster device. Check the installed version by running the following command in the terminal: php81_okm -v. Ensure that the output displays the correct PHP version.
Post Reply