PHP version, 5.6.36 upgrade to 7.x

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
tigercook
Starting out
Posts: 32
Joined: Mon Nov 26, 2012 11:21 pm

PHP version, 5.6.36 upgrade to 7.x

Post 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
User avatar
dolbyman
Guru
Posts: 35021
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: PHP version, 5.6.36 upgrade to 7.x

Post 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
User avatar
TPLINK
Getting the hang of things
Posts: 95
Joined: Sat Jun 09, 2018 8:31 pm

Re: PHP version, 5.6.36 upgrade to 7.x

Post by TPLINK »

.
Last edited by TPLINK on Wed Nov 14, 2018 10:06 pm, edited 1 time in total.
TS-2888X-W2133-64G 10Tb WD-Red Qsubsonic, Storage, backup
Acer Aspire 16Gb 8th gen. I7 Windows 10 Home 64Bits
1Tb free Stack
User avatar
dolbyman
Guru
Posts: 35021
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: PHP version, 5.6.36 upgrade to 7.x

Post 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
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: PHP version, 5.6.36 upgrade to 7.x

Post 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.
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
alifnoon
Starting out
Posts: 17
Joined: Wed May 10, 2017 2:13 am

Re: PHP version, 5.6.36 upgrade to 7.x

Post 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'. Nerd 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.
SillyBilly
New here
Posts: 2
Joined: Thu Dec 06, 2018 3:26 pm

Re: PHP version, 5.6.36 upgrade to 7.x

Post 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. :!: :!:
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: PHP version, 5.6.36 upgrade to 7.x

Post 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.
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: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: PHP version, 5.6.36 upgrade to 7.x

Post 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/
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
LambaDambaDusa
New here
Posts: 3
Joined: Sat Mar 09, 2019 4:01 pm

Re: PHP version, 5.6.36 upgrade to 7.x

Post by LambaDambaDusa »

2019 and still not Support for PHP7?
Blackbar7
Know my way around
Posts: 111
Joined: Fri Jan 04, 2019 7:33 pm

Re: PHP version, 5.6.36 upgrade to 7.x

Post 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
TS-253 8Gb Pro with QTS 4.4.1.0978 build 20190627 Public Beta
TS-131 1Gb with QTS 4.4.1.0978 Build 20190627 Public Beta
Both drives are equiped with WD-RED drives.
Affordable seedbox > https://panel.seedbox.io/aff.php?aff=641
Blackbar7
Know my way around
Posts: 111
Joined: Fri Jan 04, 2019 7:33 pm

Re: PHP version, 5.6.36 upgrade to 7.x

Post by Blackbar7 »

#THG-224-12442
TS-253 8Gb Pro with QTS 4.4.1.0978 build 20190627 Public Beta
TS-131 1Gb with QTS 4.4.1.0978 Build 20190627 Public Beta
Both drives are equiped with WD-RED drives.
Affordable seedbox > https://panel.seedbox.io/aff.php?aff=641
alien9998
Getting the hang of things
Posts: 71
Joined: Tue Jan 29, 2013 2:30 pm
Location: Netherlands

Re: PHP version, 5.6.36 upgrade to 7.x

Post by alien9998 »

simplydevlish wrote: Thu Mar 14, 2019 8:03 am 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.
How does it work? Just install the QPKG and the PHP is updated?
And can it be uninstalled without any effect on your Joomla website?
For each new version available you pay the 5 euro?
Qnap TS-473; 4x WD Red 4TB; 2x Samsung EVO860 M2 500gb; Raid 6; 4 GB RAM Memory
Qnap TS-133; 1x Samsung 870 QVO 1TB; 2 GB Memory
tigercook
Starting out
Posts: 32
Joined: Mon Nov 26, 2012 11:21 pm

Re: PHP version, 5.6.36 upgrade to 7.x

Post by tigercook »

alien9998 wrote: Fri Mar 29, 2019 2:18 am
simplydevlish wrote: Thu Mar 14, 2019 8:03 am 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.
How does it work? Just install the QPKG and the PHP is updated?
And can it be uninstalled without any effect on your Joomla website?
For each new version available you pay the 5 euro?
I 2nd the 'How does it work? Just install the QPKG and the PHP is updated?'
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: PHP version, 5.6.36 upgrade to 7.x

Post by Toxic17 »

simplydevlish wrote: Thu Mar 14, 2019 8:03 am You really don't need QApache as Qnap's Apache already updated.
QNAPs Apache is never upto date. at present it is

Code: Select all

[~] # /usr/local/apache/bin/apache -V
Server version: Apache/2.4.37 (Unix)
Qapache (Apache73 & PHP)on the other hand:

Code: Select all

[~] # /share/CACHEDEV1_DATA/.qpkg/Apache73/bin/apachectl -V
Server version: Apache/2.4.39 (Unix)
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)”