Skip to content

Commit 3ed898f

Browse files
committed
Merge branch 'staging/1.4.7' into main
2 parents bca0496 + 420b6b0 commit 3ed898f

File tree

9 files changed

+38
-20
lines changed

9 files changed

+38
-20
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [1.4.7] - Service release
5+
6+
### Bugfixes
7+
8+
- Fix #1984 phppgadmin not working on apache2 systems
9+
- Fix #1985 Restart service not working
10+
11+
412
## [1.4.6] - Service release
513

614
### Features

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Hestia Control Panel](https://www.hestiacp.com/)
44
==================================================
5-
**Latest stable release:** Version 1.4.5 | [View Changelog](https://github.com/hestiacp/hestiacp/blob/release/CHANGELOG.md)<br>
5+
**Latest stable release:** Version 1.4.7 | [View Changelog](https://github.com/hestiacp/hestiacp/blob/release/CHANGELOG.md)<br>
66

77
**Web:** [www.hestiacp.com](https://www.hestiacp.com/)<br>
88
**Documentation:** [docs.hestiacp.com](https://docs.hestiacp.com/)<br>

bin/v-restart-service

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,19 @@ is_format_valid 'service' 'restart'
3333
# Action #
3434
#----------------------------------------------------------#
3535

36-
if [ -d /usr/sbin/php*/fpm/ ]; then
36+
# Multi-instance service restart request handling
37+
if [ "$service" = "php-fpm" ];then
38+
service_list=''
3739
# Get installed php versions
3840
php_versions=$(ls /usr/sbin/php*fpm* | cut -d'/' -f4 | sed 's|php-fpm||')
39-
4041
# Substitute php-fpm service name formats
4142
for version in $php_versions; do
42-
if [ "$service" = "php-fpm${version}" ]; then
43-
service="php${version}-fpm"
44-
fi
43+
service_list="${service_list} php${version}-fpm"
4544
done
46-
47-
# Multi-instance service restart request handling
48-
if [ "$service" = "php-fpm" ];then
49-
for version in $php_versions; do
50-
service_list="${service_list} php${version}-fpm"
51-
done
52-
else
53-
service_list="$service"
54-
fi
55-
fi
45+
else
46+
service_list="$service"
47+
fi
48+
5649
for service in $service_list; do
5750

5851
if [ "$service" = "iptables" ]; then

install/deb/pga/phppgadmin.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ allow from all
1515
php_flag track_vars On
1616
php_value include_path .
1717
</IfModule>
18+
<IfModule mpm_event_module>
19+
# Use www.conf instead
20+
<FilesMatch \.php$>
21+
SetHandler "proxy:fcgi://127.0.0.1:9000"
22+
</FilesMatch>
23+
</IfModule>
1824
<IfModule !mod_php5.c>
1925
<IfModule mod_actions.c>
2026
<IfModule mod_cgi.c>

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ HESTIA_INSTALL_DIR="$HESTIA/install/deb"
2323
VERBOSE='no'
2424

2525
# Define software versions
26-
HESTIA_INSTALL_VER='1.4.6'
26+
HESTIA_INSTALL_VER='1.4.7'
2727
pma_v='5.1.1'
2828
rc_v="1.4.11"
2929
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0")

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ HESTIA_INSTALL_DIR="$HESTIA/install/deb"
2323
VERBOSE='no'
2424

2525
# Define software versions
26-
HESTIA_INSTALL_VER='1.4.6'
26+
HESTIA_INSTALL_VER='1.4.7'
2727
pma_v='5.1.1'
2828
rc_v="1.4.11"
2929
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0")

install/upgrade/versions/1.4.6.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Hestia Control Panel upgrade script for target version 1.4.5
3+
# Hestia Control Panel upgrade script for target version 1.4.6
44

55
#######################################################################################
66
####### Place additional commands below. #######

install/upgrade/versions/1.4.7.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
# Hestia Control Panel upgrade script for target version 1.4.5
4+
5+
#######################################################################################
6+
####### Place additional commands below. #######
7+
#######################################################################################
8+
9+
if [ ! -z "$DB_PGA_ALIAS" ]; then
10+
$HESTIA/bin/v-change-sys-db-alias 'pga' $DB_PGA_ALIAS
11+
fi

src/deb/hestia/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: hestia
22
Package: hestia
33
Priority: optional
4-
Version: 1.4.6
4+
Version: 1.4.7
55
Section: admin
66
Maintainer: HestiaCP <info@hestiacp.com>
77
Homepage: https://www.hestiacp.com

0 commit comments

Comments
 (0)