Skip to content

Commit

Permalink
Merge pull request #350 from reliforp/fix-php-regex
Browse files Browse the repository at this point in the history
Fix the regex to find PHP 8.3 binaries on some environment
  • Loading branch information
sj-i committed Nov 23, 2023
2 parents 5619e7c + 31da980 commit 0a487b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
final class TargetPhpSettings
{
public const PHP_REGEX_DEFAULT = '.*/((php|php-fpm)(7\.?[01234]|8\.?[012])?|libphp[78]?.*\.so)$';
public const PHP_REGEX_DEFAULT = '.*/((php|php-fpm)(7\.?[01234]|8\.?[0123])?|libphp[78]?.*\.so)$';
public const LIBPTHREAD_REGEX_DEFAULT = '.*/libpthread.*\.so';
public const TARGET_PHP_VERSION_DEFAULT = 'auto';

Expand Down

0 comments on commit 0a487b6

Please sign in to comment.