[ QApache 2.4.39 + PHP 7.2.29 ] WebServer with PHP and PECL

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
discojohnno79
New here
Posts: 3
Joined: Sat May 13, 2017 4:54 pm

Re: [ QApache 2.4.25 + PHP 7.1.4 ] WebServer and more

Post by discojohnno79 »

thank you for this all installed and i can login, however it still shows php5.6 ? see attachement
You do not have the required permissions to view the files attached to this post.
User avatar
Toxic17
Ask me anything
Posts: 6477
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [ QApache 2.4.25 + PHP 7.1.4 ] WebServer and more

Post by Toxic17 »

discojohnno79 wrote:thank you for this all installed and i can login, however it still shows php5.6 ? see attachement
is the QNAP WebServer still running on port 80?

have you setup phpmyadmin in the new apache conf files?

did you access phpmyadmin on port 80 or 88? looks like port 80.

mine is on the default port 88.
Capture.JPG

Code: Select all

<Directory "/share/CACHEDEV1_DATA/htdocs/phpMyAdmin">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
    Require all granted
</Directory>

Code: Select all

<VirtualHost *:88>
    ServerAdmin xxxxx.xxxxx@gmail.com
    DocumentRoot "/share/CACHEDEV1_DATA/htdocs/phpMyAdmin"
    ServerName 172.x.x.x
	ServerAlias 172.x.x.x
</VirtualHost>
just because you install QApache package it is not automated like QNAP's web server.

YOU will have to edit php.ini, httpd.conf and other /etc/*.conf files to create your web site the way you want it. phpmyadmin is a website, so YOU have to add it to the web setup. just like any other package that resides in a folder under /htdocs/ as its own website.

for more information goto http://php.net/ and https://httpd.apache.org/ and start reading.
You do not have the required permissions to view the files attached to this post.
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: 6477
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [ QApache 2.4.25 + PHP 7.1.4 ] WebServer and more

Post by Toxic17 »

Stephane

PHP 7.1.5 has been released ;)
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
thekidflash
New here
Posts: 3
Joined: Sun May 14, 2017 11:12 am

Re: [ QApache 2.4.25 + PHP 7.1.4 ] WebServer and more

Post by thekidflash »

I found the xdebug.so is missing in the folder and cannot enable, any help?
CylonCenturion

Re: [ QApache 2.4.25 + PHP 7.1.4 ] WebServer and more

Post by CylonCenturion »

Toxic17 wrote:Stephane

PHP 7.1.5 has been released ;)
Hi Toxic17
he should be aware of it, as i already posted a link to 7.1.5.
User avatar
Toxic17
Ask me anything
Posts: 6477
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [ QApache 2.4.25 + PHP 7.1.4 ] WebServer and more

Post by Toxic17 »

thekidflash wrote:I found the xdebug.so is missing in the folder and cannot enable, any help?
if it is not included in the package then it would probably need to be included at the compiling stage. you would need to request Stephane does this, if it is possible without major issues.
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
thekidflash
New here
Posts: 3
Joined: Sun May 14, 2017 11:12 am

[ QApache 2.4.25 + PHP 7.1.4 ] WebServer and more

Post by thekidflash »

Toxic17 wrote:
thekidflash wrote:I found the xdebug.so is missing in the folder and cannot enable, any help?
if it is not included in the package then it would probably need to be included at the compiling stage. you would need to request Stephane does this, if it is possible without major issues.
Thank you Toxic17
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QApache 2.4.25 + PHP 7.1.5 ] WebServer and more

Post by QNAP_Stephane »

Uploading Qapache update

what's new

Code: Select all

2.4.25.5 - 18 May 2017
-------------------------
 
updated php core to 7.1.5
Libcurl update to 7.54.0
imap extension added
xdebug 2.5.4 extension added 
redis 3.1.2 extension added
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Toxic17
Ask me anything
Posts: 6477
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [ QApache 2.4.25 + PHP 7.1.5 ] WebServer and more

Post by Toxic17 »

Thanks for the update!

Sent from my ONEPLUS A3003 using Tapatalk
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
discojohnno79
New here
Posts: 3
Joined: Sat May 13, 2017 4:54 pm

Re: [ QApache 2.4.25 + PHP 7.1.4 ] WebServer and more

Post by discojohnno79 »

Toxic17 wrote:
discojohnno79 wrote:thank you for this all installed and i can login, however it still shows php5.6 ? see attachement
is the QNAP WebServer still running on port 80?

have you setup phpmyadmin in the new apache conf files?

did you access phpmyadmin on port 80 or 88? looks like port 80.

mine is on the default port 88.
Capture.JPG

Code: Select all

<Directory "/share/CACHEDEV1_DATA/htdocs/phpMyAdmin">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
    Require all granted
</Directory>

Code: Select all

<VirtualHost *:88>
    ServerAdmin xxxxx.xxxxx@gmail.com
    DocumentRoot "/share/CACHEDEV1_DATA/htdocs/phpMyAdmin"
    ServerName 172.x.x.x
	ServerAlias 172.x.x.x
</VirtualHost>
just because you install QApache package it is not automated like QNAP's web server.

YOU will have to edit php.ini, httpd.conf and other /etc/*.conf files to create your web site the way you want it. phpmyadmin is a website, so YOU have to add it to the web setup. just like any other package that resides in a folder under /htdocs/ as its own website.

for more information goto http://php.net/ and https://httpd.apache.org/ and start reading.

The apache webserver is on port 88, the qnap webserver is on 85 along with the phpmyadmin. This is all new to me just wondered if the code you pasted above would work for mine if i add it to the httpd.conf? what else will i need to do? any help would be much appreciated
Franzie
Starting out
Posts: 15
Joined: Fri Oct 29, 2010 11:10 pm

Re: [ QApache 2.4.23 + PHP 7.0.9 ] WebServer and more

Post by Franzie »

QNAP_Stephane wrote:it is just an extension issue, may be due migration version..

anyway you will soon turn to 64bit, and will have to reinstall Qapache new version ;)

I will stop supporting the x86 32bit version, FW 4.3 will turn all NAS into 64bits system

I am actually building the last version.. with i hope an arm-x41 version as well
@Stephane, so also here no support anymore for the TS-439 Pro II ??
User avatar
Toxic17
Ask me anything
Posts: 6477
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: [ QApache 2.4.25 + PHP 7.1.5 ] WebServer and more

Post by Toxic17 »

he is only compiling new versions for QTS 4.3.x - 64bit, you will have to do with the older x86 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
Franzie
Starting out
Posts: 15
Joined: Fri Oct 29, 2010 11:10 pm

Re: [ QApache 2.4.25 + PHP 7.1.5 ] WebServer and more

Post by Franzie »

Ok. Anyway, it's a great job. Thanks!
Franzie
Starting out
Posts: 15
Joined: Fri Oct 29, 2010 11:10 pm

Re: [ QApache 2.4.25 + PHP 7.1.5 ] WebServer and more

Post by Franzie »

I have a problem:
I installed Qapache_2.4.25.1_x86.qpkg on a TS439 Pro II with FW 4.2.6.
I see that Qapache and QPHPMyAdmin both are installed in /share/MD0_DATA/.qpkg/ and in /opt/
All fine and services are running. Then, I restart Qapache and/or QPHPMyAdmin and the maps in /opt are disappeared.
I had this twice (after reinstall) Also when, after disappearing, I make a symlink from /share/MD0_DATA/.qpkg/Qapache to /opt the link is disappeared after restart.
How to handle with this??
thekidflash
New here
Posts: 3
Joined: Sun May 14, 2017 11:12 am

Re: [ QApache 2.4.25 + PHP 7.1.5 ] WebServer and more

Post by thekidflash »

QNAP_Stephane wrote:Uploading Qapache update

what's new

Code: Select all

2.4.25.5 - 18 May 2017
-------------------------
 
updated php core to 7.1.5
Libcurl update to 7.54.0
imap extension added
xdebug 2.5.4 extension added 
redis 3.1.2 extension added
Stephane, many many thanks!!
Post Reply

Return to “Community Apps”