1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-17 17:57:23 +01:00

Hardcode PHP version

This commit is contained in:
KiekerJan
2025-02-12 15:38:30 +01:00
parent f7386d1e36
commit cac493fcf3
9 changed files with 25 additions and 41 deletions

View File

@@ -180,8 +180,7 @@ def wait_for_service(port, public, env, timeout):
time.sleep(min(timeout/4, 1))
def get_php_version():
# Gets the version of PHP installed in the system.
return shell("check_output", ["/usr/bin/php", "-v"])[4:7]
return "8.1"
def get_ssh_port():
port_value = get_ssh_config_value("port")