$OpenBSD: patch-validate_php,v 1.9 2017/01/31 22:43:30 sthen Exp $
--- validate.php.orig	Tue Jan 31 16:57:21 2017
+++ validate.php	Tue Jan 31 22:08:48 2017
@@ -45,7 +45,7 @@ if (!file_exists('config.php')) {
 }
 
 $config_failed = false;
-$syntax_check = `php -ln config.php`;
+$syntax_check = `%PHP% -ln config.php`;
 if (!str_contains($syntax_check, 'No syntax errors detected')) {
     print_fail('Syntax error in config.php');
     echo $syntax_check;
