Skip to content

Commit

Permalink
disable default php-fpm config for apache as for some users, it is en…
Browse files Browse the repository at this point in the history
…abled and used prior to froxlor generated virtual-host configs resulting in no php-rendering

Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Nov 27, 2023
1 parent e1e7555 commit 1ae5311
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/configfiles/bookworm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3383,6 +3383,11 @@ aliases: files
</visibility>
<command><![CDATA[a2dismod php8.2]]></command>
</commands>
<commands index="5">
<visibility mode="equals" value="apache2">{{settings.system.webserver}}
</visibility>
<command><![CDATA[a2disconf php8.2-fpm]]></command>
</commands>
<!-- instead of just restarting apache, we let the cronjob do all the
dirty work -->
<command><![CDATA[php {{const.install_dir}}bin/froxlor-cli froxlor:cron --force]]></command>
Expand Down
5 changes: 5 additions & 0 deletions lib/configfiles/jammy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4172,6 +4172,11 @@ aliases: files
</visibility>
<command><![CDATA[a2dismod php8.1]]></command>
</commands>
<commands index="5">
<visibility mode="equals" value="apache2">{{settings.system.webserver}}
</visibility>
<command><![CDATA[a2disconf php8.1-fpm]]></command>
</commands>
<!-- instead of just restarting apache, we let the cronjob do all the
dirty work -->
<command><![CDATA[php {{const.install_dir}}bin/froxlor-cli froxlor:cron --force]]></command>
Expand Down

0 comments on commit 1ae5311

Please sign in to comment.