git: a97530b48518 - main - lang/php84: Correct php_fpm in rc.d script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Mar 2025 18:11:44 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a97530b48518c47097305b4c11176d09a3b76e3f
commit a97530b48518c47097305b4c11176d09a3b76e3f
Author: Christos Chatzaras <chris@cretaforce.gr>
AuthorDate: 2025-03-25 13:17:45 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-03-25 18:11:12 +0000
lang/php84: Correct php_fpm in rc.d 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/php84/Makefile | 2 +-
lang/php84/files/php_fpm.in | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lang/php84/Makefile b/lang/php84/Makefile
index 7be45abc00ba..bf8ed1c817d4 100644
--- a/lang/php84/Makefile
+++ b/lang/php84/Makefile
@@ -1,6 +1,6 @@
PORTNAME= php84
DISTVERSION= 8.4.5
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= lang devel www
MASTER_SITES= PHP/distributions
DISTNAME= php-${DISTVERSION}
diff --git a/lang/php84/files/php_fpm.in b/lang/php84/files/php_fpm.in
index 104dcf10261a..d8a70275f453 100644
--- a/lang/php84/files/php_fpm.in
+++ b/lang/php84/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:-}"