macho
November 18, 2021, 10:14am
1
Hi,
I am on debian 10 with hestia 1.4.17 running. (apache2 + nginx)
I know for sure that webmail.domain.xyz worked a few weeks ago (unfortunately I use webmail rarely so I cannot tell when that changed).
DNS is correct and as said - it surely already worked but yesterday I had to use webmail again and discovered that the webmail only shows the source of the index.php file.
I than tried to switch between rainloop and roundcube (both showed their respective index.php as source)
As I found in another thread where that happend that also phpmyadmin and phppgadmin were not using php I tested this too, but to my surprise phpmyadmin and phppgadmin were correctly showing up.
So it is only webmail which obviously does not use php to process the page source.
Any hint where I can search?
Thanks a lot
Werner
macho
November 18, 2021, 11:26am
3
there is
php5.6
php7.0
php7.1
php7.2
php7.3
php7.4
php8.0
installed, but only 7.4 and 8.0 are activated and used.
eris
November 18, 2021, 11:54am
4
Does www.conf exists in one of the /etc/php/x.x/fpm/pool.d?
macho
November 18, 2021, 1:08pm
5
yes it does but only in 7.4/fpm/pool.d/www.conf
with the content:
; origin-src: deb/php-fpm/www.conf
[www]
listen = 127.0.0.1:9000
listen.allowed_clients = 127.0.0.1
user = www-data
group = www-data
pm = ondemand
pm.max_children = 4
pm.max_requests = 4000
pm.process_idle_timeout = 10s
macho
November 18, 2021, 2:31pm
7
still after several reboots
phpmyadmin works but
webmail does not
the only difference i can see is that its
domain.tld/phpmyadmin whereas
webmail.domain.tld
but where can the problem hide? Everything else on that installation works.
Maybe I should also add that I did not change anything manually - it’s all hestia automatic …
alber
November 24, 2021, 12:06am
8
@macho try running $HESTIA/install/upgrade/manual/migrate_mpm_event.sh
had a similar issue in the past, hope this fix the issue.
opened 05:18PM - 29 Jun 20 UTC
closed 07:50AM - 30 Jun 20 UTC
### In a few words, please describe the issue that you're experiencing:
After u… pgrading from v1.1.1 to 1.2.0 I tried to access webmail and seeing PHP code instead of webmail
### What steps did you take when the issue occurred?
when I tried to access webmail
https://webmail.hostname.tld/

### Expected behavior:
Webmail should work fine.
### Operating system:
Ubuntu 18.04 (x86_64)
### Hestia Control Panel version:
1.2.0
### Additional notes:
I think it's due to mpm_event
$HESTIA/install/upgrade/manual/migrate_mpm_event.sh.
macho
November 24, 2021, 8:12am
9
Hi @alber
Thanks a lot for sharing that information.
Webmail works perfectly again.
Now I have to take a closer look where the problem was.
3 Likes
alber
November 24, 2021, 4:53pm
10
I think the issue was that apache was using mpm_prefork instead of mpm_event
system
Closed
December 24, 2021, 4:53pm
11
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.