Qnap [ Qapache + PHP 7.2.26 ] [ 2.4.39 ] Apache WebServer + PHP + Extensions

hi Stephane,
Questions for future releases:
- Is it possible to run the apache process as a different user than Admin (maybe to avoid the issue some of us faced - described above)?
- Is it possible to run it in a container (same intended purpose) ?
Just wondering, as I am worried for my data

Many thanks
O
 
updated

Code:
all libs dependency up to date
Apache update to 2.4.33
remove mysql to use mariadb connector instead

lighter and faster
 
QoolBox a dit:
updated

Code:
all libs dependency up to date
Apache update to 2.4.33
remove mysql to use mariadb connector instead

lighter and faster

Excellent, though php 7.2.5 has just been released.
 
I personnally moved to a docker container, allowing me to upgrade on demand and mainly to "limit" the possibility of any issue on the main OS.
Even though I really wanted to thank you Stéphane, your package really inspired me and made me want to try new stuff.
Again, thank you and hope this package will help many people
 
Bonjour,

Depuis la mise à jour (avec la recommandation de sauvegarder les paramètres avant de le faire), la connexion ne se fait plus. J'ai réinstallé à neuf mon Qnap (en créant htdocs avant de réinstaller Qapache) pensant que j'avais trop bidouiller (installation manuel depuis Putty) mais toujours sans succès.

Pourtant avant je pouvais travailler avec sans problème sur une ancienne version. J'ai même refait une nouvelle réinitialisation du Qnap et installer Qapache en premier en pensant qu'un autre utilitaire pouvait poser problème mais toujours rien. Je manipule un autre Qnap dont Qapache fonctionne très bien, en reprenant les même paramètres.

J'ai déjà eu ce genre de souci mais je pouvais le contourner en réinstallant une ancienne version de Qapache (allez savoir pourquoi... :-/) et j'évitais du coup à faire la mise à jour. Mais vous ne proposé plus les anciennes versions. Pouvez-vous me donner un lien pour faire des testes?

Merci pour votre aide!!
 
panada a dit:
Bonjour,

Depuis la mise à jour (avec la recommandation de sauvegarder les paramètres avant de le faire), la connexion ne se fait plus. J'ai réinstallé à neuf mon Qnap (en créant htdocs avant de réinstaller Qapache) pensant que j'avais trop bidouiller (installation manuel depuis Putty) mais toujours sans succès.

Pourtant avant je pouvais travailler avec sans problème sur une ancienne version. J'ai même refait une nouvelle réinitialisation du Qnap et installer Qapache en premier en pensant qu'un autre utilitaire pouvait poser problème mais toujours rien. Je manipule un autre Qnap dont Qapache fonctionne très bien, en reprenant les même paramètres.

J'ai déjà eu ce genre de souci mais je pouvais le contourner en réinstallant une ancienne version de Qapache (allez savoir pourquoi... :-/) et j'évitais du coup à faire la mise à jour. Mais vous ne proposé plus les anciennes versions. Pouvez-vous me donner un lien pour faire des testes?

Merci pour votre aide!!

https://www.qnapclub.eu/en/qpkg/268

click on OLD VERSIONS
 
Yessss désolé j'ai pas bien ouvert mes yeux. Mais tout refonctionne très bien avec une ancienne version! Merci!!!
 
Stephane, FYI:

24 May 2018, PHP 7.2.6

Code:
- EXIF:
  . Fixed bug #76164 (exif_read_data zend_mm_heap corrupted). (cmb)

- FPM:
  . Fixed bug #76075 --with-fpm-acl wrongly tries to find libacl on FreeBSD.
    (mgorny)

- intl:
  . Fixed bug #74385 (Locale::parseLocale() broken with some arguments).
    (Anatol)

- Opcache:
  . Fixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp). (Dmitry)
  . Fixed bug #76275 (Assertion failure in file cache when unserializing empty
    try_catch_array). (Nikita)
  . Fixed bug #76281 (Opcache causes incorrect "undefined variable" errors).
    (Nikita)

- Reflection:
  . Fixed arginfo of array_replace(_recursive) and array_merge(_recursive).
    (carusogabriel)

- Session:
  . Fixed bug #74892 (Url Rewriting (trans_sid) not working on urls that start
    with "#"). (Andrew Nester)
 
Updated x64 versions

Code:
updated PHP Core to 7.2.6
Libsodium (added)
Sodium Extension added
GNUPG Extension added

Fixed Xdebug Zend extension not load by default
 
FYI:

07 Jun 2018, PHP 7.2.7

Code:
- Core:
  . Fixed bug #76337 (segfault when opcache enabled + extension use
    zend_register_class_alias). (xKhorasan)

- CLI Server:
  . Fixed bug #76333 (PHP built-in server does not find files if root path
    contains special characters). (Anatol)

- OpenSSL:
  . Fixed bug #76296 (openssl_pkey_get_public does not respect open_basedir).
    (Erik Lax, Jakub Zelenka)
  . Fixed bug #76174 (openssl extension fails to build with LibreSSL 2.7).
    (Jakub Zelenka)

- SPL:
  . Fixed bug #76367 (NoRewindIterator segfault 11). (Laruence)

- Standard:
  . Fixed bug #76410 (SIGV in zend_mm_alloc_small). (Laruence)
  . Fixed bug #76335 ("link(): Bad file descriptor" with non-ASCII path).
    (Anatol)
 
How can one use port 443 for Virtual Host web server ?
Is there a specific instruction that we can follow ?

What i did to have port 443 to star is by going on Qnap Setting:
1. System
2. General Settings
3. System Administration tab
4. Enable secure connection (HTTPS) to 443

but when i run this command:
wget --header="Host: site.domain.com" -O - https://localhost

I get:
[~] # wget --header="Host: site.domain.com" -O - https://localhost
--2018-07-09 22:56:41-- https://localhost/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:443... connected.
ERROR: no certificate subject alternative name matches
requested host name ‘localhost’.
To connect to localhost insecurely, use `--no-check-certificate'.

Thank You
 
dumb4ever a dit:
How can one use port 443 for Virtual Host web server ?
Is there a specific instruction that we can follow ?

What i did to have port 443 to star is by going on Qnap Setting:
1. System
2. General Settings
3. System Administration tab
4. Enable secure connection (HTTPS) to 443

but when i run this command:
wget --header="Host: site.domain.com" -O - https://localhost

I get:
[~] # wget --header="Host: site.domain.com" -O - https://localhost
--2018-07-09 22:56:41-- https://localhost/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:443... connected.
ERROR: no certificate subject alternative name matches
requested host name ‘localhost’.
To connect to localhost insecurely, use `--no-check-certificate'.

Thank You

I actually manage to get it all running on 80 and 443 :) if anyone have any question, feel free to ask and i'll do my best to answer.

Thanks