[ 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
BigMacBen
Starting out
Posts: 20
Joined: Thu Apr 11, 2013 2:56 am

Re: [ QApache 2.4.12 + PHP 5.6.10 ] WebServer and more

Post by BigMacBen » Wed Mar 23, 2016 8:38 pm

I would look forward to seeing a new version for x86 =)

behko_sh
New here
Posts: 3
Joined: Sat Dec 05, 2015 11:58 pm

Re: [ QApache 2.4.12 + PHP 5.6.10 ] WebServer and more

Post by behko_sh » Sat Apr 02, 2016 4:34 pm

Hey mate where is the location of php ?
I need to run php composer ,artisan etc.

User avatar
QNAP_Stephane
Experience counts
Posts: 3841
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QApache 2.4.12 + PHP 5.6.10 ] WebServer and more

Post by QNAP_Stephane » Sat Apr 02, 2016 6:27 pm

behko_sh wrote:Hey mate where is the location of php ?
I need to run php composer ,artisan etc.


/opt/QApache/bin
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

User avatar
QNAP_Stephane
Experience counts
Posts: 3841
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QApache 2.4.20 + PHP 7.0.5 ] WebServer and more

Post by QNAP_Stephane » Wed Apr 13, 2016 7:31 pm

update to Apache core 2.4.20 + php 7.0.5

all libs and subisdiary apps updated to last release
all PECL updated (when possible, some not added due to compatilbity issue with PHP 7)

know issue : imagick extension wont load due to missing libs (will be fixed in next release)
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

xsylenz
First post
Posts: 1
Joined: Sun Mar 27, 2016 6:26 am

Re: [ QApache 2.4.20 + PHP 7.0.5 ] WebServer and more

Post by xsylenz » Fri Apr 15, 2016 12:22 am

Hi,

I want to change DocumentRoot "/share/htdocs" to DocumentRoot "/share/htdocs/www". After I've changed it in the httpd.conf file I restart Qapache. Even that it let's me change it, Qapache is not following the config file at all and acts like I never changed anything at all. Does it use another config file instead?

I tried this with Qapache 2.4.20 and also with 2.4.12.1... same result.

Also all my changes to use .htaccess files doesn't seem to work.

DJCMBear
Starting out
Posts: 26
Joined: Mon Apr 14, 2014 3:42 pm

Re: [ QApache 2.4.20 + PHP 7.0.5 ] WebServer and more

Post by DJCMBear » Mon Apr 25, 2016 3:56 am

How can I get Qapache to use the built-in mysql or in my case mariadb version of mysql, using the built-in apache PDO connects to localhost but using Qapache it brings back an error... do I need to change any files to get Qapache to work with mysql?

Just using new PDO("mysql:host=localhost", "root", ""); brings back "Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory"
Server: TVS-871-i7-16G 32TB RAID-6 QTS 4.3.3 2017/07/27
Network: ASUS RT-AC5300 5334Mbps internal network with AC wireless (Twin 5Ghz and a 2.4Ghz both with a range of 5,000 square feet), CAT7 ethernet cables with true gigabit ports, 300Mb/s super fast vivid fibre optic with unlimited bandwidth.

User avatar
QNAP_Stephane
Experience counts
Posts: 3841
Joined: Wed Mar 27, 2013 1:00 am

Re: [ QApache 2.4.20 + PHP 7.0.5 ] WebServer and more

Post by QNAP_Stephane » Mon Apr 25, 2016 5:00 am

Cant say did you try replace localhost
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

DJCMBear
Starting out
Posts: 26
Joined: Mon Apr 14, 2014 3:42 pm

Re: [ QApache 2.4.20 + PHP 7.0.5 ] WebServer and more

Post by DJCMBear » Mon Apr 25, 2016 5:03 am

QNAP_Stephane wrote:Cant say did you try replace localhost


I tried to use 127.0.0.1 as well and that still didn't work, it is the last thing I need to get working to have the sites running.
Server: TVS-871-i7-16G 32TB RAID-6 QTS 4.3.3 2017/07/27
Network: ASUS RT-AC5300 5334Mbps internal network with AC wireless (Twin 5Ghz and a 2.4Ghz both with a range of 5,000 square feet), CAT7 ethernet cables with true gigabit ports, 300Mb/s super fast vivid fibre optic with unlimited bandwidth.

BigMacBen
Starting out
Posts: 20
Joined: Thu Apr 11, 2013 2:56 am

Re: [ QApache 2.4.20 + PHP 7.0.5 ] WebServer and more

Post by BigMacBen » Sun May 01, 2016 6:24 pm

QNAP_Stephane wrote:update to Apache core 2.4.20 + php 7.0.5

all libs and subisdiary apps updated to last release
all PECL updated (when possible, some not added due to compatilbity issue with PHP 7)

know issue : imagick extension wont load due to missing libs (will be fixed in next release)



Awsome :D But when I try to install this QPKG on QTS 4.2.1, I get : Qapache 2.4.20.0 installation failed. Data file error". Do you have any idea how to fix this?
Best regards
Ben

BigMacBen
Starting out
Posts: 20
Joined: Thu Apr 11, 2013 2:56 am

Re: [ QApache 2.4.20 + PHP 7.0.5 ] WebServer and more

Post by BigMacBen » Thu May 05, 2016 6:03 am

No one?

BigMacBen
Starting out
Posts: 20
Joined: Thu Apr 11, 2013 2:56 am

Re: [ QApache 2.4.20 + PHP 7.0.5 ] WebServer and more

Post by BigMacBen » Wed May 11, 2016 2:35 am

BigMacBen wrote:Awsome :D But when I try to install this QPKG on QTS 4.2.1, I get : Qapache 2.4.20.0 installation failed. Data file error". Do you have any idea how to fix this?
Best regards
Ben


I had to remove the older QPKG 2.4.12 before. Then, vverything worked fine. Great job!! :DD

User avatar
QNAP_Stephane
Experience counts
Posts: 3841
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane » Wed Aug 03, 2016 3:22 pm

Update to Apache 2.4.23 and php 7.0.9

Code: Select all

fixed Imagick PECL issue
update openssl 1.0.2h
update curl 7.50
update sqlite 3.13

added PECL hprose

--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

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

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

Post by Toxic17 » Fri Aug 19, 2016 6:40 pm

Does this app support Virtual Hosts?
Regards Simon

QTS 4.x User Guidex

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


NAS: TS-473-32GB QM2-2P QXG-10G1T 4.4.2.1354 • TVS-463-16GB 4.4.2.1354 QM2-2S10G1TB • TS-459 Pro 2GB 4.2.6 • TS-121 4.3.3.1161 • APC Back-UPS ES 700G •
QPKG's: Plex 1.19.3 • Apache73 v2443.74070 • QSonarr 3.0.3.809 • QNBZGet 21.0 • phpMyAdmin 5.0.2 • Qmono 6.80.105 • McAfee 3.1.0 -6010 • HBS 3.0.200424 • LEgo v3.6.0
Network: VM Hub 3.0 <500/35> • UniFi USG Pro 4 • UniFi USW-16-150W • UniFi USW-8-60W • UniFi CloudKey Gen2+ • UniFi G3-Flex • UAP AC Pro • UAP AC Lite • SLM2008 • Dell 7050 MFF •

User avatar
QNAP_Stephane
Experience counts
Posts: 3841
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane » Fri Aug 19, 2016 6:42 pm

yes if you set it inside the httpd.conf adding the include
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

User avatar
QNAP_Stephane
Experience counts
Posts: 3841
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane » Fri Sep 02, 2016 12:01 am

x64 version added for true x64 system (or FW 4.3.x )

all libs updated + php 7.0.10
--------------------------------------------------------------------------
QnapClub AppCenter - https://www.qnapclub.eu
--------------------------------------------------------------------------

Post Reply

Return to “Community Apps”