From 22e28953afedfe3c0c4883402bb9d9ddf82bb9a2 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 11 May 2026 22:57:31 +0000 Subject: [PATCH] Update PHP path --- freebsd/resources/finish.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freebsd/resources/finish.sh b/freebsd/resources/finish.sh index 01aaaf5..f3a278a 100755 --- a/freebsd/resources/finish.sh +++ b/freebsd/resources/finish.sh @@ -68,7 +68,7 @@ if [ .$nginx_enabled = .'true' ]; then #update application defaults if [ .$nginx_enabled = .'true' ]; then - cd /usr/local/www/fusionpbx && /usr/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php --defaults + cd /usr/local/www/fusionpbx && /usr/local/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php --defaults fi #add the user @@ -97,11 +97,11 @@ if [ .$nginx_enabled = .'true' ]; then #update application defaults if [ .$nginx_enabled = .'true' ]; then - cd /usr/local/www/fusionpbx && /usr/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php --defaults + cd /usr/local/www/fusionpbx && /usr/local/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php --defaults fi #update permissions - #cd /var/www/fusionpbx && /usr/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php --permissions + #cd /var/www/fusionpbx && /usr/local/bin/php /var/www/fusionpbx/core/upgrade/upgrade.php --permissions #reset the current working directory cd $cwd