git: 6661cfca40c4 - main - lang/php83: Correct php_fpm in rc script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Mar 2025 18:11:42 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6661cfca40c4274e9b695a33fb0660faa839cca8
commit 6661cfca40c4274e9b695a33fb0660faa839cca8
Author: Christos Chatzaras <chris@cretaforce.gr>
AuthorDate: 2025-03-25 13:13:24 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-03-25 18:11:11 +0000
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
---
lang/php83/Makefile | 2 +-
lang/php83/files/php_fpm.in | 6 +++---
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:-}"