Skip to content

Commit 03af9b1

Browse files
kisukasimonhamp
andauthored
Add environment variable for php bin directory. (#101)
* Add environment variable for php bin directory. * Change env key name --------- Co-authored-by: Simon Hamp <[email protected]>
1 parent 8ca1a68 commit 03af9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Concerns/LocatesPhpBinary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ trait LocatesPhpBinary
99
*/
1010
protected function binaryPackageDirectory(): string
1111
{
12-
return 'vendor/nativephp/php-bin/';
12+
return env('NATIVEPHP_PHP_BINARY_PATH', 'vendor/nativephp/php-bin/');
1313
}
1414

1515
/**

0 commit comments

Comments
 (0)