This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
php8: add CI runtime test
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
lilik-openwrt-22.03
Michael Heimpold
3 years ago
parent
9080dce60f
commit
2dad652446
1 changed files
with
23 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+23
-0
lang/php8/test.sh
+ 23
- 0
lang/php8/test.sh
View File
@ -0,0 +1,23 @@
#!/bin/sh
case
"
$1
"
in
php8-cgi
)
php8-cgi -v
|
grep
"
$2
"
;
;
php8-cli
)
php8-cli -v
|
grep
"
$2
"
;
;
php8-fpm
)
php8-fpm -v
|
grep
"
$2
"
;
;
php8-mod-*
)
PHP_MOD
=
"
${
1
#php8-mod-
}
"
PHP_MOD
=
"
${
PHP_MOD
//-/_
}
"
opkg install php8-cli
php8-cli -m
|
grep -i
"
$PHP_MOD
"
;
;
*
)
;
;
esac
Write
Preview
Loading…
Cancel
Save