Skip to content

Commit bc3ab75

Browse files
Improve Lando support with exec-based PHP execution
1 parent 06c6ee1 commit bc3ab75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/support/php.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ const getPhpCommand = (): string => {
113113
});
114114

115115
options.set("lando", {
116-
check: "lando info",
117-
command: "lando ssh -c 'php {code}'",
116+
check: "lando exec appserver -- php -r 'echo PHP_BINARY;'",
117+
command: "lando exec appserver -- php",
118118
});
119119

120120
options.set("local", {

0 commit comments

Comments
 (0)