[QPKG] PHP 5.5.19 Released

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
User avatar
Toxic17
Ask me anything
Posts: 6480
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

[QPKG] PHP 5.5.19 Released

Post by Toxic17 »

Just a small update- long time coming ;)

PHP 5.5.19 has now been released for users in the App Center on your NAS (Beta Lab)

https://www.qnap.com/i/uk/app_center/co ... jump_win=1

x86: http://download.qnap.com/QPKG/PHP_5.5.1 ... 18_x86.zip
ARM: http://download.qnap.com/QPKG/PHP_5.5.1 ... arm_kw.zip
TS-x31: http://download.qnap.com/QPKG/X31/PHP_5 ... arm_ms.zip
TS-x31+: http://download.qnap.com/QPKG/PHP_5.5.1 ... arm_al.zip

this will replace the 5.3.29 (built in app) when installed.

v5.5.21 is in testing at present and will be released when ready
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
User avatar
Toxic17
Ask me anything
Posts: 6480
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [QPKG] PHP 5.5.19 Released

Post by Toxic17 »

one bug I had noticed was the php.ini file ended incorrectly.

-----------------------------
; End:
[opcache]
opcache.memory_consumption = 64
opcache.interned_strings_buffer = 8
opcache.max_accelerated_files = 4000
opcache.revalidate_freq = 60
opcache.fast_shutdown = 1
-----------------------------

it should be like so:

-----------------------------

[opcache]
opcache.memory_consumption = 64
opcache.interned_strings_buffer = 8
opcache.max_accelerated_files = 4000
opcache.revalidate_freq = 60
opcache.fast_shutdown = 1
; End:
-----------------------------
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
datorexpert
Been there, done that
Posts: 778
Joined: Mon Nov 16, 2009 4:14 pm
Contact:

Re: [QPKG] PHP 5.5.19 Released

Post by datorexpert »

Lovely ;)!
Will correct the bug in php.ini later today. And then I will upgrade OwnCloud to v8.x.
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
Toxic17
Ask me anything
Posts: 6480
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [QPKG] PHP 5.5.19 Released

Post by Toxic17 »

owncloud has its own issues. have read many users having issues in upgrading from 7 to 8 and thats not even on a QNAP ;)
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
User avatar
schumaku
Guru
Posts: 43578
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: [QPKG] PHP 5.5.19 Released

Post by schumaku »

The outdated and buggy PHP 5.5.19 offered three months to late does not help much either.
User avatar
Toxic17
Ask me anything
Posts: 6480
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [QPKG] PHP 5.5.19 Released

Post by Toxic17 »

All i can says its better than 5.3.29, with eaccelerator!
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
User avatar
forkless
Experience counts
Posts: 1907
Joined: Mon Nov 23, 2009 6:52 am
Location: The Netherlands

Re: [QPKG] PHP 5.5.19 Released

Post by forkless »

PHP 7 (PHPNG) should be a significant peformance improvement (they skipped the version 6 development cycle due to superstition... Kind of ironic, that of all people a bunch of coders decide to do that :roll: ) which is due in Q3 of this year.
User avatar
Moogle Stiltzkin
Guru
Posts: 11445
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: [QPKG] PHP 5.5.19 Released

Post by Moogle Stiltzkin »

Toxic17 wrote:one bug I had noticed was the php.ini file ended incorrectly.

-----------------------------
; End:
[opcache]
opcache.memory_consumption = 64
opcache.interned_strings_buffer = 8
opcache.max_accelerated_files = 4000
opcache.revalidate_freq = 60
opcache.fast_shutdown = 1
-----------------------------

it should be like so:

-----------------------------

[opcache]
opcache.memory_consumption = 64
opcache.interned_strings_buffer = 8
opcache.max_accelerated_files = 4000
opcache.revalidate_freq = 60
opcache.fast_shutdown = 1
; End:
-----------------------------
Is that the only bug ? Has the fix been added into the qpkg or is this something we have to manually edit ourselves for now ?

forkless wrote:PHP 7 (PHPNG) should be a significant peformance improvement (they skipped the version 6 development cycle due to superstition... Kind of ironic, that of all people a bunch of coders decide to do that :roll: ) which is due in Q3 of this year.
i don't see that version here
http://php.net/

so what is that :? ? is this something similar to the mariadb situation.
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
User avatar
forkless
Experience counts
Posts: 1907
Joined: Mon Nov 23, 2009 6:52 am
Location: The Netherlands

Re: [QPKG] PHP 5.5.19 Released

Post by forkless »

PHPNG (5.7/7) is the natural development cycle for PHP (more information: https://wiki.php.net/rfc/php7_57_roadmap)

5.5.x is still a widely adopted and supported (it released early last year) as where the 5.3 series has reached its end of life cycle. No more support for it since August 2014) which doesn't mean it's dead yet, there still be wide adaption for this version it simply means there is a higher risk that projects such as Wordpress/Joomla at some point will abandon it in favor of newer versions. In other words there will be deprecated code that will start breaking/preventing PHP apps to run properply.


PS. Benchmarks so far have shown that PHPNG nearly doubles the performace of the 5.6 series. It even gives Facebooks HHVM a run for their money. Some 3rd party performance metrics: https://kinsta.com/blog/real-world-word ... -and-hhvm/
User avatar
forkless
Experience counts
Posts: 1907
Joined: Mon Nov 23, 2009 6:52 am
Location: The Netherlands

Re: [QPKG] PHP 5.5.19 Released

Post by forkless »

Just installed this beta package on my TS-809 the CLI dumps quite a few error messages (also with the -c ./php.ini parameter to force load the php.ini file)

Code: Select all

Failed loading opcache.so:  opcache.so: cannot open shared object file: No such file or directory
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/pgsql.so' - /usr/local/apache/modules/php5.5/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/zlib.so' - /usr/local/apache/modules/php5.5/zlib.so: undefined symbol: php_output_handler_create_internal in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/curl.so' - /usr/local/apache/modules/php5.5/curl.so: undefined symbol: php_output_write in Unknown on line 0
PHP Warning:  PHP Startup: calendar: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/iconv.so' - /usr/local/apache/modules/php5.5/iconv.so: undefined symbol: php_output_handler_alias_register in Unknown on line 0
PHP Warning:  PHP Startup: gd: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/session.so' - /usr/local/apache/modules/php5.5/session.so: undefined symbol: append_user_shutdown_function in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/pdo.so' - /usr/local/apache/modules/php5.5/pdo.so: undefined symbol: zend_new_interned_string in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/sqlite.so' - /usr/local/apache/modules/php5.5/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/sqlite3.so' - /usr/local/apache/modules/php5.5/sqlite3.so: undefined symbol: zend_new_interned_string in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/pdo_mysql.so' - /usr/local/apache/modules/php5.5/pdo_mysql.so: undefined symbol: php_pdo_unregister_driver in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/pdo_sqlite.so' - /usr/local/apache/modules/php5.5/pdo_sqlite.so: undefined symbol: php_pdo_unregister_driver in Unknown on line 0
PHP Warning:  PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/mysqli.so' - /usr/local/apache/modules/php5.5/mysqli.so: undefined symbol: zend_new_interned_string in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/openssl.so' - /usr/local/apache/modules/php5.5/openssl.so: undefined symbol: _php_stream_fill_read_buffer in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/zip.so' - /usr/local/apache/modules/php5.5/zip.so: undefined symbol: zend_new_interned_string in Unknown on line 0
PHP Warning:  PHP Startup: bcmath: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: dba: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/exif.so' - /usr/local/apache/modules/php5.5/exif.so: undefined symbol: zend_multibyte_fetch_encoding in Unknown on line 0
PHP Warning:  PHP Startup: ftp: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: gettext: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: imap: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: ldap: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/mbstring.so' - /usr/local/apache/modules/php5.5/mbstring.so: undefined symbol: zend_multibyte_set_internal_encoding in Unknown on line 0
PHP Warning:  PHP Startup: mysqlnd: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: pcntl: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: shmop: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/soap.so' - /usr/local/apache/modules/php5.5/soap.so: undefined symbol: zend_new_interned_string in Unknown on line 0
PHP Warning:  PHP Startup: sockets: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/wddx.so' - /usr/local/apache/modules/php5.5/wddx.so: undefined symbol: zend_unmangle_property_name_ex in Unknown on line 0
PHP Warning:  PHP Startup: xmlrpc: Unable to initialize module
Module compiled with module API=20121212
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/apache/modules/php5.5/xsl.so' - /usr/local/apache/modules/php5.5/xsl.so: undefined symbol: zend_new_interned_string in Unknown on line 0
Edit: Never mind sorted, the 5.5 binary is not invoked when using it from the regular path.
User avatar
Toxic17
Ask me anything
Posts: 6480
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [QPKG] PHP 5.5.19 Released

Post by Toxic17 »

Moogle Stiltzkin wrote: Is that the only bug ? Has the fix been added into the qpkg or is this something we have to manually edit ourselves for now ?
Sorry, but why would it be fixed - if i had noticed a bug in it?
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
User avatar
Moogle Stiltzkin
Guru
Posts: 11445
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: [QPKG] PHP 5.5.19 Released

Post by Moogle Stiltzkin »

forkless wrote:PHPNG (5.7/7) is the natural development cycle for PHP (more information: https://wiki.php.net/rfc/php7_57_roadmap)

5.5.x is still a widely adopted and supported (it released early last year) as where the 5.3 series has reached its end of life cycle. No more support for it since August 2014) which doesn't mean it's dead yet, there still be wide adaption for this version it simply means there is a higher risk that projects such as Wordpress/Joomla at some point will abandon it in favor of newer versions. In other words there will be deprecated code that will start breaking/preventing PHP apps to run properply.


PS. Benchmarks so far have shown that PHPNG nearly doubles the performace of the 5.6 series. It even gives Facebooks HHVM a run for their money. Some 3rd party performance metrics: https://kinsta.com/blog/real-world-word ... -and-hhvm/
double ? ok i'm sold :mrgreen:

that said my apache still runs slow :(

nginx looks promising if i can ever figure out migrating over :S
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
User avatar
forkless
Experience counts
Posts: 1907
Joined: Mon Nov 23, 2009 6:52 am
Location: The Netherlands

Re: [QPKG] PHP 5.5.19 Released

Post by forkless »

There are many considerations to be made if you want to migrate from Apache to nginx, long story short if your webserver buckles due to continous load you need to consider moving onto a proper dedicated co-located webserver with a good bit of memory and cpu horsepower, because 2GB of memory for a webserver where half of it is lost on running the storage services and other multimedia stuff is not much to begin with.

Anyway, Apache is almost identical in performance if it doesn't have AllowOverride configured (and depending configuration it can be even faster than Nginx). Which simply means no more .htaccess magic but just putting the Apache directives in the virtual host configuration.

Having said that the memory footprint of Nginx is much smaller than Apaches which is beneficial on minimal hardware configurations such as a NAS, which results in less requests from swap memory (disk thrashing).

Like I mentioned before however, if it actually comes to that (due to site popularity) you may actually want to consider getting a proper webserver in place that has normal means of keeping it up to date/secure and is located in a place where you can easily scale up rather than to mess about with a standalone 'for funsies' web server platform on an SOHO grade server.
User avatar
Moogle Stiltzkin
Guru
Posts: 11445
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: [QPKG] PHP 5.5.19 Released

Post by Moogle Stiltzkin »

forkless wrote:There are many considerations to be made if you want to migrate from Apache to nginx, long story short if your webserver buckles due to continous load you need to consider moving onto a proper dedicated co-located webserver with a good bit of memory and cpu horsepower, because 2GB of memory for a webserver where half of it is lost on running the storage services and other multimedia stuff is not much to begin with.

Anyway, Apache is almost identical in performance if it doesn't have AllowOverride configured (and depending configuration it can be even faster than Nginx). Which simply means no more .htaccess magic but just putting the Apache directives in the virtual host configuration.

Having said that the memory footprint of Nginx is much smaller than Apaches which is beneficial on minimal hardware configurations such as a NAS, which results in less requests from swap memory (disk thrashing).

Like I mentioned before however, if it actually comes to that (due to site popularity) you may actually want to consider getting a proper webserver in place that has normal means of keeping it up to date/secure and is located in a place where you can easily scale up rather than to mess about with a standalone 'for funsies' web server platform on an SOHO grade server.
i think one of the other benefits of nginx is how it can cope with more connections (from site surfers) compared to apache which quickly diminishes in performance because it scales worse compared to nginx in that regard. So for a big site, nginx scales better for bigger audiences. Apache works well for smaller audiences in the long term.

php hm... hopefully we get to see some updates soon.

Uh.... does the qnap automatically use this qpkg php after it's installed/enabled. Or does the user have to edit the conf files to link to it :? ?


PS: other interesting developments the new http 2.0 standard will be able to cope with more simultaneous connections better, and also offset the need for queueing things in order which would cause a bottleneck and effectively slow down page load. this paired with nginx to handle many connections is nice :mrgreen:
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
User avatar
Toxic17
Ask me anything
Posts: 6480
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [QPKG] PHP 5.5.19 Released

Post by Toxic17 »

PHP 5.5.19 overrides the built in one so it automatically uses the new one without any editing. I have though increased memory to 128 from 64 since default is 128. Also since Zend OpCache is built into PHP 5.5 you should see some improvement. I did. and gone is the dreadful eaccelerator. i'm also using memcached qpkg too.
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
Post Reply

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