Page 1 of 1

PHP version, 5.6.36 upgrade to 7.x

Posted: Thu Oct 04, 2018 4:42 am
by tigercook
Hi Please can you help me with the following message from Joomla , how do I upgrade the PHP version?

Your PHP version, 5.6.36, is only receiving security fixes at this time from the PHP project. This means your PHP version will soon no longer be supported. We recommend planning to upgrade to a newer PHP version before it reaches end of support on 2018-10-01. Joomla will be faster and more secure if you upgrade to a newer PHP version (PHP 7.x is recommended). Please contact your host for upgrade instructions.

PHP 5.6.36
MySQL 5.5.57-MariaDB
Joomla version, 3.8.12

Re: PHP version, 5.6.36 upgrade to 7.x

Posted: Thu Oct 04, 2018 5:55 am
by dolbyman
You can't update it on the NAS (unless includes an update with their firmware)

you need to run a web package in a VM or container to have full control

Re: PHP version, 5.6.36 upgrade to 7.x

Posted: Sun Oct 07, 2018 3:36 pm
by TPLINK
.

Re: PHP version, 5.6.36 upgrade to 7.x

Posted: Mon Oct 08, 2018 1:03 am
by dolbyman
you can open a request..but besides that a ticket will not help much ...

using a different webserver via container or virtualization is OPs only near term solution

Re: PHP version, 5.6.36 upgrade to 7.x

Posted: Mon Oct 08, 2018 4:36 am
by Toxic17
tigercook wrote:Hi Please can you help me with the following message from Joomla , how do I upgrade the PHP version?

Your PHP version, 5.6.36, is only receiving security fixes at this time from the PHP project. This means your PHP version will soon no longer be supported. We recommend planning to upgrade to a newer PHP version before it reaches end of support on 2018-10-01. Joomla will be faster and more secure if you upgrade to a newer PHP version (PHP 7.x is recommended). Please contact your host for upgrade instructions.

PHP 5.6.36
MySQL 5.5.57-MariaDB
Joomla version, 3.8.12


why not use QApache then?

Firstly QNAP Firmware has Apache 2.4.25 which is about 2 years out of date and has critical security flaws, YET Qnap refuse to put this on their Security bulletin website.

QNAP will allows run lower versions of PHP since not all websites are ready for 7.x as so many websites were coded in 5.x and with 7.x version it deprecates a number of used commands. thus making websites break very easily. QNAP I guess doesnt was to rock the boat so to speak.

QApache is created by QNAP Stephane (in his own time along with 100's more QPKG's). It has Apache 2.4.34 (at time of writing) and PHP 7.2.10 and plenty of PECL extensions. the setup is a more hands on approach and will need more user intervention that the standard QNAP built in apps.
it runs on Port 88 for http and 448 for https (needs configured)

these ports can be changed but you cannot changed them to 80/443 as this is used by QNAPS own built in apache/php. You can then port forward 80/443 requests to the NAS 88/448 for any website you have running. this and other great software are available from either https://www.qnapclub.eu/en/ or viewforum.php?f=320.

you will wait a long time for QNAP to bring out any php 7.x version.

Re: PHP version, 5.6.36 upgrade to 7.x

Posted: Wed Nov 28, 2018 7:15 am
by alifnoon
I downloaded QAPACHE, but I am simply clueless in how to get going. This is why I avoided Linux like the plague.

We are well underway in the 21st century, and there is no way to tame the command line based 'software'. ** Nirvana aside, user-friendliness and time saved is a positive attribute for software and might supersede all other use cases in today's age where a lot of people are wanting to run websites and do not have enterprise level consulting dollars.

Wondering if there is a cheat sheet to configure the QAPACHE for running, websites with SSL!

QNAP seems to be a lot of smoke and mirrors but no real usable tools, the boast about, besides storage tools.

Re: PHP version, 5.6.36 upgrade to 7.x

Posted: Thu Dec 06, 2018 9:42 pm
by SillyBilly
alifnoon wrote:
Wed Nov 28, 2018 7:15 am

QNAP seems to be a lot of smoke and mirrors but no real usable tools, the boast about, besides storage tools.
i raised a ticket about it. I requested to update php to 7.3.0.
Qapache consums 2Gb of memory. :!: :!:

Re: PHP version, 5.6.36 upgrade to 7.x

Posted: Thu Dec 06, 2018 11:21 pm
by Toxic17
SillyBilly wrote:
Thu Dec 06, 2018 9:42 pm
Qapache consums 2Gb of memory. :!: :!:
it consumes memory as to what you have setup in the configuration of php and apache.

7.3.0 is only released this week, and no doubt there will be plenty of bugs not to mention all the deprecated commands from 5.6>7.0>7.2>7.3 if you intend on upgrading from 5.6 to 7.3. This will break plenty of webpages and packages.

I asked QNAP over a year ago to upgrade to 7.x. and look where we are. still on 5.x. if you want 7.x then use Qapache, or if you NAS allows Containers/Dockers, the use a php package for that.

otherwise its 5.6 or a online web based solution.

Re: PHP version, 5.6.36 upgrade to 7.x

Posted: Thu Dec 06, 2018 11:34 pm
by Toxic17
alifnoon wrote:
Wed Nov 28, 2018 7:15 am
I downloaded QAPACHE, but I am simply clueless in how to get going. This is why I avoided Linux like the plague.

We are well underway in the 21st century, and there is no way to tame the command line based 'software'. ** Nirvana aside, user-friendliness and time saved is a positive attribute for software and might supersede all other use cases in today's age where a lot of people are wanting to run websites and do not have enterprise level consulting dollars.
Wondering if there is a cheat sheet to configure the QAPACHE for running, websites with SSL!
there is no cheat sheet. once you have created htdocs share and then installed qapache, you have a webserver that IS running. (port forward Wan port 80 to port 88 on your NAS and you cna then surf to your website via ip.

for https, you need to enable it in the conf files. then YOU have to register a domain name, set that up with a Domain registrar then point the domain to your FIXED IP Address of you home/business router. you then port forward Port:80 and/or Port 443 (to 448 of your NAS) if you dont have a fixed IP, you must use a DDNS provider and set that up on your NAS too.

https Certs (for https) is where you start reading, and using google. once you have that setup, you have a basic webserver however you will then need to lock it down using a number of online check tools.

certs from lets encrypt can be used or purchase one from a supplier.

if you cannot be bothered with all this, then perhaps a webserver on your nas is not for you. there are plenty of online blogs you can use "point and click" without any setup, or hassle to learn something about web server configurations.

Tools for Websites and admins:

https://www.ssllabs.com/ssltest/analyze.html

https://www.htbridge.com/websec/

https://gtmetrix.com/

https://www.sslforfree.com/

Re: PHP version, 5.6.36 upgrade to 7.x

Posted: Sat Mar 09, 2019 4:06 pm
by LambaDambaDusa
2019 and still not Support for PHP7?

Re: PHP version, 5.6.36 upgrade to 7.x

Posted: Sat Mar 09, 2019 7:06 pm
by Blackbar7
LambaDambaDusa wrote:
Sat Mar 09, 2019 4:06 pm
2019 and still not Support for PHP7?
no, complain to qnap: https://helpdesk.qnap.com

refer to #DAF-430-25568

Re: PHP version, 5.6.36 upgrade to 7.x

Posted: Thu Mar 14, 2019 8:03 am
by simplydevlish
You can use Qnap Club's PHP. It's cost you few bucks but it will work without having to reconfigure settings (change ports, etc.) post install. Just a little tweak on php.ini for some added features. You really don't need QApache as Qnap's Apache already updated.