[ 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 »

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 »

Hey mate where is the location of php ?
I need to run php composer ,artisan etc.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

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

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
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

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)
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
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 »

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 »

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: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

Cant say did you try replace localhost
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
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 »

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 »

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 »

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 »

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: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

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

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

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: 6482
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 »

Does this app support Virtual Hosts?
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
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

yes if you set it inside the httpd.conf adding the include
---------------------------------------------------------------------------------------------------------------------------

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
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

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

all libs updated + php 7.0.10
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
Post Reply

Return to “Community Apps”