aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Chatzaras <chris@cretaforce.gr>2025-03-25 13:13:24 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-03-25 18:11:11 +0000
commit6661cfca40c4274e9b695a33fb0660faa839cca8 (patch)
tree70e1857702da4c7bb2a3ddb1123658de5441f8e2
parent7f225d1c12b762edc44829aad0873c7e7a216a92 (diff)
lang/php83: Correct php_fpm in rc script
Correct a reference in the php_fpm.in file, changing php-fpm to php_fpm to ensure consistent naming when invoking the rc.d script for PHP-FPM profiles. PR: 285584
-rw-r--r--lang/php83/Makefile2
-rw-r--r--lang/php83/files/php_fpm.in6
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/php83/Makefile b/lang/php83/Makefile
index 2dfe0d7fa38f..23e9d24fa855 100644
--- a/lang/php83/Makefile
+++ b/lang/php83/Makefile
@@ -1,6 +1,6 @@
PORTNAME= php83
DISTVERSION= 8.3.19
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= lang devel www
MASTER_SITES= PHP/distributions
DISTNAME= php-${DISTVERSION}
diff --git a/lang/php83/files/php_fpm.in b/lang/php83/files/php_fpm.in
index 104dcf10261a..d8a70275f453 100644
--- a/lang/php83/files/php_fpm.in
+++ b/lang/php83/files/php_fpm.in
@@ -5,9 +5,9 @@
# KEYWORD: shutdown
#
-# Add the following line to /etc/rc.conf to enable php-fpm:
+# Add the following line to /etc/rc.conf to enable php_fpm:
# php_fpm_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable php-fpm
+# Set it to "YES" to enable php_fpm
# php_fpm_profiles (str): Set to "" by default.
# Define your profiles here.
# php_fpm_pid_prefix (str): Set to "" by default.
@@ -53,7 +53,7 @@ else
if [ "x${php_fpm_profiles}" != "x" -a "x$1" != "x" ]; then
for profile in ${php_fpm_profiles}; do
echo "===> php_fpm profile: ${profile}"
- %%PREFIX%%/etc/rc.d/php-fpm $1 ${profile}
+ %%PREFIX%%/etc/rc.d/php_fpm $1 ${profile}
retcode="$?"
if [ "0${retcode}" -ne 0 ]; then
failed="${profile} (${retcode}) ${failed:-}"