How do I install missing PHP modules (intl)?

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
ParaDice

How do I install missing PHP modules (intl)?

Post by ParaDice »

Hello there,

I have much anticipated the recent update to PHP Version 7.3.7, but it's still giving me major headaches.

I want to run an owncloud 10.3 server on a TS-251A (QTS 4.4.1.1086), but it won't run because it is missing the PHP module intl, which is required for owncloud.

Hence my question: How do I install missing php modules on my QNAP NAS?
Torti
New here
Posts: 2
Joined: Sat Apr 13, 2019 10:09 pm

Re: How do I install missing PHP modules (intl)?

Post by Torti »

Same problem here, how to install intl, apcu,imagik... ?
Flyingfufu
Starting out
Posts: 44
Joined: Sun Jul 10, 2011 6:58 pm

Re: How do I install missing PHP modules (intl)?

Post by Flyingfufu »

Will be interested too, for the same reason...
TVS-863 owner
bradipo69
New here
Posts: 2
Joined: Wed Jan 14, 2015 4:31 pm

Re: How do I install missing PHP modules (intl)?

Post by bradipo69 »

Hi
have you find a solution?
Tanks
wayne61
New here
Posts: 9
Joined: Sat Mar 14, 2020 4:46 am

Re: How do I install missing PHP modules (intl)?

Post by wayne61 »

Hi,
I'm running QTS 4.4.1 with PHP 7.3.7 and want to install/active the int module.

Anyone got a solution?
thanks
datorexpert
Been there, done that
Posts: 777
Joined: Mon Nov 16, 2009 4:14 pm
Contact:

Re: How do I install missing PHP modules (intl)?

Post by datorexpert »

No success yet?
QTS 4.1.n/4.2.n/4.3.n/4.4.n MANUAL
Submit QNAP Support Ticket - QNAP Tutorials, Wiki - Product Support Status - Moogle's QNAP FAQ help V2 - QNAP Security Advisory
When you ask a question, please include the following:
Data md_checker nasreport (release 20180525)
=
Model: TVS-873e -- RAM: 20G -- FW: QTS 5.1.1.2491 build 20230815 (used as main storage + applications)
WD60EFRX-68L0BN1(x6) / WD80EFAX-68LHPN0(x1) Red HDDs -- RAID5: 8x6TB -- Cold spare: None
=
Model: TS-453B -- RAM: 8G -- FW: QTS 4.4.1.0978 build 20190626 -- BROKEN
=
Model: SS-839 -- SOLD after 12 years use! Never lost ANY data!
=
13 years of QNAP experience + Asustor and WD!
ronaldkuijper
First post
Posts: 1
Joined: Sat May 02, 2020 7:58 pm

Re: How do I install missing PHP modules (intl)?

Post by ronaldkuijper »

Hello

I'm looking for a solution to the same question. How do I activate php_intl
I run a 453B with QTS 4.4.2 and using PHP 7.3.7

thanks in advance
Punkt
First post
Posts: 1
Joined: Fri May 08, 2020 5:31 am

Re: How do I install missing PHP modules (intl)?

Post by Punkt »

Hello,
i have the same problem. I need php_intl for a Nextcloud Installation on Qnap TS-253Be, QTS 4.4.2, PHP 7.3.7.

thx
RedPaul65
New here
Posts: 3
Joined: Sat Dec 15, 2018 3:41 pm

Re: How do I install missing PHP modules (intl)?

Post by RedPaul65 »

Hello,
i have the same problem. I need php_intl too into my QTS 4.4.2.1310 and using PHP 7.3.7.
thx
blablub233
New here
Posts: 5
Joined: Sun Jul 05, 2020 4:10 am

Re: How do I install missing PHP modules (intl)?

Post by blablub233 »

did anyone have luck so far?
datorexpert
Been there, done that
Posts: 777
Joined: Mon Nov 16, 2009 4:14 pm
Contact:

Re: How do I install missing PHP modules (intl)?

Post by datorexpert »

No!
QTS 4.1.n/4.2.n/4.3.n/4.4.n MANUAL
Submit QNAP Support Ticket - QNAP Tutorials, Wiki - Product Support Status - Moogle's QNAP FAQ help V2 - QNAP Security Advisory
When you ask a question, please include the following:
Data md_checker nasreport (release 20180525)
=
Model: TVS-873e -- RAM: 20G -- FW: QTS 5.1.1.2491 build 20230815 (used as main storage + applications)
WD60EFRX-68L0BN1(x6) / WD80EFAX-68LHPN0(x1) Red HDDs -- RAID5: 8x6TB -- Cold spare: None
=
Model: TS-453B -- RAM: 8G -- FW: QTS 4.4.1.0978 build 20190626 -- BROKEN
=
Model: SS-839 -- SOLD after 12 years use! Never lost ANY data!
=
13 years of QNAP experience + Asustor and WD!
User avatar
jaysona
Been there, done that
Posts: 846
Joined: Tue Dec 02, 2008 11:26 am
Location: Somewhere in the Great White North

Re: How do I install missing PHP modules (intl)?

Post by jaysona »

The module is available via entware.

Code: Select all

[~] # opkg list 
...
php7-mod-intl - 7.1.12-3 - Internationalization Functions shared module
...
RAID is not a Back-up!

H/W: QNAP TVS-871 (i7-4790. 16GB) (Plex server) / TVS-EC1080 (32Gig ECC) - VM host & seedbox
H/W: Asustor AS6604T (8GB) / Asustor AS7010T (16GB) (media storage)
H/W: TS-219 Pro / TS-509 Pro
O/S: Slackware 14.2 / MS Windows 7-64 (x5)
Router1: Asus RT-AC86U - Asuswrt-Merlin - 386.7_2
Router2: Asus RT-AC68U - Asuswrt-Merlin - 386.7_2
Router3: Linksys WRT1900AC - DD-WRT v3.0-r46816 std
Router4: Asus RT-AC66U - FreshTomato v2021.10.15

Misc: Popcorn Hour A-110/WN-100, Pinnacle Show Center 250HD, Roku SoundBridge Radio (all retired)
Ditched QNAP units: TS-269 Pro / TS-253 Pro (8GB) / TS-509 Pro / TS-569 Pro / TS-853 Pro (8GB)
TS-670 Pro x2 (i7-3770s 16GB) / TS-870 Pro (i7-3770 16GB) / TVS-871 (i7-4790s 16GB)
blablub233
New here
Posts: 5
Joined: Sun Jul 05, 2020 4:10 am

Re: How do I install missing PHP modules (intl)?

Post by blablub233 »

Hi jaysona,

I just found Entware, installed the opkg package (opkg install php7-mod-intl) without any errors. But still can't install ownclound as the original poster.
I added in the php.ini the line "extension=intl". I also put a user.ini and or php.ini in the owncloud folder and restarted the qnap webserver (QThttpd.sh). still no luck. any thoughts?

opkg shows also "php7-mod-intl - 7.4.6-1" installed. is 7.4.6 the php version?? maybe that's the issue. Qnaps webserver runs on 7.3.7
User avatar
jaysona
Been there, done that
Posts: 846
Joined: Tue Dec 02, 2008 11:26 am
Location: Somewhere in the Great White North

Re: How do I install missing PHP modules (intl)?

Post by jaysona »

blablub233 wrote: Sun Jul 05, 2020 6:59 am Hi jaysona,

I just found Entware, installed the opkg package (opkg install php7-mod-intl) without any errors. But still can't install ownclound as the original poster.
I added in the php.ini the line "extension=intl". I also put a user.ini and or php.ini in the owncloud folder and restarted the qnap webserver (QThttpd.sh). still no luck. any thoughts?

opkg shows also "php7-mod-intl - 7.4.6-1" installed. is 7.4.6 the php version?? maybe that's the issue. Qnaps webserver runs on 7.3.7
Ummmm........I thought php modules extensions ended with a .so. The files installed would be listed as part of the opkg installation process, and there shoul dhave been at least one file ending in .so that was installed.

You would need to modify your php.ini file to include the new module extension, and also make sure the proper symlinks are in place.
RAID is not a Back-up!

H/W: QNAP TVS-871 (i7-4790. 16GB) (Plex server) / TVS-EC1080 (32Gig ECC) - VM host & seedbox
H/W: Asustor AS6604T (8GB) / Asustor AS7010T (16GB) (media storage)
H/W: TS-219 Pro / TS-509 Pro
O/S: Slackware 14.2 / MS Windows 7-64 (x5)
Router1: Asus RT-AC86U - Asuswrt-Merlin - 386.7_2
Router2: Asus RT-AC68U - Asuswrt-Merlin - 386.7_2
Router3: Linksys WRT1900AC - DD-WRT v3.0-r46816 std
Router4: Asus RT-AC66U - FreshTomato v2021.10.15

Misc: Popcorn Hour A-110/WN-100, Pinnacle Show Center 250HD, Roku SoundBridge Radio (all retired)
Ditched QNAP units: TS-269 Pro / TS-253 Pro (8GB) / TS-509 Pro / TS-569 Pro / TS-853 Pro (8GB)
TS-670 Pro x2 (i7-3770s 16GB) / TS-870 Pro (i7-3770 16GB) / TVS-871 (i7-4790s 16GB)
JensBr
New here
Posts: 6
Joined: Sat Nov 14, 2020 5:11 pm

Re: How do I install missing PHP modules (intl)?

Post by JensBr »

Hello,

i add successfully apcu and intl to my ts-453A internal php.

following steps:
  1. create new share folder
    • create new share folder, only access for admin and hide in network
    • i my case the name is "ext_lib" -> after create the path is /share/ext_lib
    • i create 3 folders in /share/ext_lib with chmod 755:

      Code: Select all

      /share/ext_lib/etc/config/php.d
      /share/ext_lib/usr/local/lib
      /share/ext_lib/usr/local/apache/modules
      
  2. load extensions (qts is x86_64)

    http://mirror.centos.org/centos/7/sclo/ ... x86_64.rpm
    http://mirror.cisp.com/CentOS/7/sclo/x8 ... x86_64.rpm
    • extract both
    • copy *.so files to /share/ext_lib/usr/local/apache/modules and chmod 755
    • change in intl.ini the line with:

      Code: Select all

      extension=intl.so
      to

      Code: Select all

      extension=/share/ext_lib/usr/local/apache/modules/intl.so
      and in apcu.ini the line with:

      Code: Select all

      extension=apcu.so
      to

      Code: Select all

      extension=/share/ext_lib/usr/local/apache/modules/apcu.so
    • copy *.ini files to /share/ext_lib/etc/config/php.d and chmod 755
  3. check dependencies for *.so
    • ssh needed
    • login, press q and then y to input commands
    • check *.so:

      Code: Select all

      ldd /share/ext_lib/usr/local/apache/modules/apcu.so
      ldd /share/ext_lib/usr/local/apache/modules/intl.so
      

      -> if there an dependency with "not found" you have to install them -> in may case is was libicu*50.so
continue...
Last edited by JensBr on Sun Nov 15, 2020 5:07 am, edited 1 time in total.
Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”