[BlueOnyx:23942] Re: R5210 - problem with differenz php version as default version
Dirk Estenfeld
dirk.estenfeld at blackpoint.de
Mon Jun 8 04:33:39 -05 2020
Hello Mike,
sure.
strings /home/solarspeed/php-7.3/lib/httpd/libphp7.so |grep "X-Powered-By:"
X-Powered-By: PHP/7.3.18
cat /etc/httpd/conf.modules.d/15-php.conf
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
# Cannot load both php5 and php7 modules
<IfModule !mod_php5.c>
<IfModule prefork.c>
LoadModule php7_module modules/libphp7.so
</IfModule>
</IfModule>
However, if I do set modruid with default PHP 7.3.18
I see in phpinfo(); for the site:
phpinfo() (p1 of 34)
PHP logo
PHP Version 7.2.11
System Linux web1.bf-net.de 4.18.0-147.8.1.el8_1.x86_64 #1 SMP Thu Apr 9
13:49:54 UTC 2020 x86_64
Build Date Oct 9 2018 15:09:36
So Something is definitively not working correct.
Best regards,
Dirk
blackpoint GmbH Friedberger Straße 106b 61118 Bad Vilbel
-----Ursprüngliche Nachricht-----
Von: Blueonyx <blueonyx-bounces at mail.blueonyx.it> Im Auftrag von Michael
Stauber
Gesendet: Freitag, 5. Juni 2020 18:28
An: blueonyx at mail.blueonyx.it
Betreff: [BlueOnyx:23938] Re: R5210 - problem with differenz php version as
default version
Hi Dirk,
> today I did install php 7.3 package at a R5210 server and set PHP
> 7.3.18 as default in Server Management -> Security -> PHP Settings:
>
> Default PHP Version: 7.3.18
>
> In Site Management fort he specific site I set Services -> PHP to PHP
> (DSO) + mod_ruid2
>
> Now I tried the roundcube installer and I see:
>
> Checking PHP version
>
> Version: OK(PHP 7.2.11 detected)
>
> Why 7.2.11?
>
> This is the system php version but I did set the Default PHP Version
> for sites to 7.3 so I would expect to see 7.3.18 at this point.
>
>
> Same issue with PHP (DSO).
>
> Only with suphp and FPM/FastCGI I can set php version to 7.3
>
> The changed default for PHP (DSO) + mod_ruid2 is not working
> although version 7.3.18 is displayed in the site after setting to "PHP
> (DSO) + mod_ruid2" under "Vsite PHP Version:".
Can you please run the following command:
#> strings /home/solarspeed/php-7.3/lib/httpd/libphp7.so |grep
"X-Powered-By:"
It should report: X-Powered-By: PHP/7.3.18
If it doesn't, then there is something wrong with the PHP package.
If it reports the correct version, then please check this file:
/etc/httpd/conf.modules.d/15-php.conf
With PHP-7.3.18 as default PHP it should read like this:
# Cannot load both php5 and php7 modules <IfModule !mod_php5.c>
<IfModule prefork.c>
LoadModule php7_module /home/solarspeed/php-7.3/lib/httpd/libphp7.so
</IfModule>
</IfModule>
--
With best regards
Michael Stauber
_______________________________________________
Blueonyx mailing list
<mailto:Blueonyx at mail.blueonyx.it> Blueonyx at mail.blueonyx.it
<http://mail.blueonyx.it/mailman/listinfo/blueonyx>
http://mail.blueonyx.it/mailman/listinfo/blueonyx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20200608/7735a8b3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2197 bytes
Desc: not available
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20200608/7735a8b3/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5506 bytes
Desc: not available
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20200608/7735a8b3/attachment.p7s>
More information about the Blueonyx
mailing list