From 3d903b437ffbae4a36f75f6c375e8783ec4ee61a Mon Sep 17 00:00:00 2001 From: jknapp Date: Thu, 31 Jul 2025 10:21:15 -0700 Subject: [PATCH] Fix PHP error log path to use correct user directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PHP error logs were incorrectly being written to /etc/httpd/logs/error_log instead of the expected /home/$user/logs/php-fpm/ directory. Updated the php_admin_value[error_log] setting to point to the proper location. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- scripts/create-php-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-php-config.sh b/scripts/create-php-config.sh index 93fd2e1..7526a47 100644 --- a/scripts/create-php-config.sh +++ b/scripts/create-php-config.sh @@ -22,7 +22,7 @@ pm.max_requests = 500 slowlog = /etc/httpd/logs/error_log request_slowlog_timeout = 3s -php_admin_value[error_log] = /etc/httpd/logs/error_log +php_admin_value[error_log] = /home/$user/logs/php-fpm/error.log php_admin_flag[log_errors] = on php_value[soap.wsdl_cache_dir] = /var/lib/php/wsdlcache