Why is there no php program?

Hello everyone, I'm compiling Rockchip RK33xx boards (64 bit) FriendlyARM NanoPi R2S with the source branch openwrt-21.02 , intending to use nignx and php, I chose with the “*” sign the
php7;
PHP7 LIBXML support; php7-cgi; php7-clgi
php7-cgi; php7-cli.
php7-cli; php7-fastcgi
php7-fastcgi; php7-fpm
php7-fpm are the 6 options, but after flushing there is no php program in the system, only php-cgi php-cli php-fcgi php-fpmp. What is the reason for this? Can I use PHP to develop the back-end program of a web page in this case?

Translated with DeepL.com (free version)

It seems likely that you are either using a very old (EOL, unsupported) version of OpenWrt, or you are using the vendor fork.

what is the output of:

ubus call system board
1 Like
root@KHDT:~# ubus call system board
{
	"kernel": "4.4.143",
	"hostname": "KHDT",
	"system": "ARMv8 Processor rev 2",
	"model": "Firefly ROC-RK3308B-CC-PLUS analog mic board",
	"board_name": "firefly,rk3308-roc-cc-plus-amic_emmc",
	"release": {
		"distribution": "OpenWrt",
		"version": "21.02-SNAPSHOT",
		"revision": "unknown",
		"target": "rockchip/armv8",
		"description": "OpenWrt 21.02-SNAPSHOT unknown"
	}
}
root@KHDT:~# 

Yeah, you are using the vendor fork. You need to either ask the vendor/supplier/maintainer of that firmware since they would theoretically maintain a compatible repo, or you can install official OpenWrt (recommended: 23.05.5):

https://firmware-selector.openwrt.org/?version=23.05.5&target=rockchip%2Farmv8&id=friendlyarm_nanopi-r2s

php8 is available for 23.05 (not php7).

1 Like