[ Apache74 ][ 2454.7433 ] Apache WebServer with PHP 7.4 and PECL extensions

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Apache74 ][ 2446.74090 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

for APache74

Code: Select all

curl -sS https://getcomposer.org/installer | /opt/Apache74/bin/php -- --install-dir=/opt/Apache74/bin --filename=composer
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
Yavieh
Starting out
Posts: 11
Joined: Wed Sep 02, 2020 6:31 pm

Re: [Apache74 ][ 2446.74090 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Yavieh »

still getting

Code: Select all

</installer | /opt/Apache74/bin/php -- --install-dir=/opt/Apache74/bin --filename=composer
All settings correct for using Composer
Downloading...

Composer (version 1.10.10) successfully installed to: /share/CACHEDEV1_DATA/.qpkg/Apache74/bin/composer
Use it: php /opt/Apache74/bin/composer

[/opt/Apache74/etc/conf] # composer
/usr/bin/composer: line 22: /opt/Apache73/bin/composer: No such file or directory
/usr/bin/composer: line 22: exec: /opt/Apache73/bin/composer: cannot execute: No such file or directory
do i need to do something again?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Apache74 ][ 2446.74090 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

Wait version 2446.74100 coming soon (some minutes)

it will be fixed
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
Yavieh
Starting out
Posts: 11
Joined: Wed Sep 02, 2020 6:31 pm

Re: [Apache74 ][ 2446.74090 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Yavieh »

okay what do i need to do to update? :D
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Apache74 ][ 2446.74100 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

updated

Code: Select all

php core to 7.4.10
composer fixed 
---------------------------------------------------------------------------------------------------------------------------

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: [Apache74 ][ 2446.74090 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

Yavieh wrote: Wed Sep 02, 2020 9:14 pm okay what do i need to do to update? :D
just download and install
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
Yavieh
Starting out
Posts: 11
Joined: Wed Sep 02, 2020 6:31 pm

Re: [Apache74 ][ 2446.74100 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Yavieh »

It is working now, thanks :)
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Apache74 ][ 2446.74100 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

you are welcome ;)
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
Yavieh
Starting out
Posts: 11
Joined: Wed Sep 02, 2020 6:31 pm

Re: [Apache74 ][ 2446.74100 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Yavieh »

One more question, i want to use php but get

Code: Select all

[/share/htdocs/Lychee] # php artisan key:generate
-sh: php: command not found
is there something that i need to do to set the php globaly?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Apache74 ][ 2446.74100 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by QNAP_Stephane »

Code: Select all

/opt/Apache74/bin/php artisan key:generate
this should work
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
Yavieh
Starting out
Posts: 11
Joined: Wed Sep 02, 2020 6:31 pm

Re: [Apache74 ][ 2446.74100 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Yavieh »

Works like charm thanks. Great support :)
Yavieh
Starting out
Posts: 11
Joined: Wed Sep 02, 2020 6:31 pm

Re: [Apache74 ][ 2446.74100 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Yavieh »

Its me again. Sry :D
I have a question. I have now my laravel project running on 192.178.168.3/laravel/public.
I now want to use my dns from qnap to access it from outside like this domain.myqnapcloud.com:88 for example.
What do i need to do to get this working?
Yavieh
Starting out
Posts: 11
Joined: Wed Sep 02, 2020 6:31 pm

Re: [Apache74 ][ 2446.74100 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by Yavieh »

Never mind. I forgot that i need to do manuel port forwarding when i use this apache.
Its working now. :D Sry for that
bkh_cosworth
New here
Posts: 3
Joined: Tue Jun 09, 2020 2:34 am

Re: [Apache74 ][ 2446.74100 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by bkh_cosworth »

Sorry if this is a stupid question, I want to run Ant Media server and I get the error.....

[App Center] Failed to install Ant Media Server1.9.1. You must first install and start QJDK8,Apache74.

I assume it is this is what I need to install first? But since you have to pay 5-Euro I was wanting someone to confirm.
apennismightier
Starting out
Posts: 19
Joined: Sat Mar 31, 2018 1:05 pm

Re: [Apache74 ][ 2446.74100 ] Apache WebServer with PHP 7.4 and PECL extensions

Post by apennismightier »

Is there somewhere else I can get this without paying 5 euros?
Post Reply

Return to “Community Apps”