systemctl start php8.2-fpm.service
Job for php8.2-fpm.service failed because the control process exited with error code.
See "systemctl status php8.2-fpm.service" and "journalctl -xeu php8.2-fpm.service" for details.
journalclt log:
Sep 17 10:49:36 DietPi php-fpm8.2[5102]: /usr/sbin/php-fpm8.2: /lib/aarch64-linux-gnu/libssl.so.3: unsupported version 0 of Verdef record
Sep 17 10:49:36 DietPi php-fpm8.2[5102]: /usr/sbin/php-fpm8.2: error while loading shared libraries: /lib/aarch64-linux-gnu/libssl.so.3: unsupported version 0 of Verneed record
Sep 17 10:49:36 DietPi systemd[1]: php8.2-fpm.service: Main process exited, code=exited, status=127/n/a
usually it should work. At least you are the only one reporting issues with PHP. I did a test installation of Nextcloud on RPi4 without issues
root@DietPi4:~# systemctl status php8.2-fpm
● php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php8.2-fpm.service; enabled; preset: enabled)
Drop-In: /etc/systemd/system/php8.2-fpm.service.d
└─dietpi.conf
Active: active (running) since Tue 2024-10-08 12:20:17 CEST; 15s ago
Docs: man:php-fpm8.2(8)
Process: 20172 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/8.2/fpm/pool.d/www.conf 82 (code=exited, status=0/SUCCESS)
Main PID: 20161 (php-fpm8.2)
Status: "Processes active: 0, idle: 4, Requests: 0, slow: 0, Traffic: 0.00req/sec"
Tasks: 5 (limit: 9352)
CPU: 234ms
CGroup: /system.slice/php8.2-fpm.service
├─20161 "php-fpm: master process (/etc/php/8.2/fpm/php-fpm.conf)"
├─20168 "php-fpm: pool www"
├─20169 "php-fpm: pool www"
├─20170 "php-fpm: pool www"
└─20171 "php-fpm: pool www"
Oct 08 12:20:17 DietPi4 systemd[1]: Starting php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
Oct 08 12:20:17 DietPi4 systemd[1]: Started php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
root@DietPi4:~# journalctl -u php8.2-fpm
Oct 08 12:16:59 DietPi4 systemd[1]: Starting php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
Oct 08 12:16:59 DietPi4 systemd[1]: Started php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
Oct 08 12:16:59 DietPi4 systemd[1]: Stopping php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
Oct 08 12:17:00 DietPi4 systemd[1]: php8.2-fpm.service: Deactivated successfully.
Oct 08 12:17:00 DietPi4 systemd[1]: Stopped php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
Oct 08 12:17:00 DietPi4 systemd[1]: Starting php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
Oct 08 12:17:00 DietPi4 systemd[1]: Started php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
Oct 08 12:17:00 DietPi4 systemd[1]: Stopping php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
Oct 08 12:17:00 DietPi4 systemd[1]: php8.2-fpm.service: Deactivated successfully.
Oct 08 12:17:00 DietPi4 systemd[1]: Stopped php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
Oct 08 12:17:20 DietPi4 systemd[1]: Starting php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
Oct 08 12:17:20 DietPi4 systemd[1]: Started php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
Oct 08 12:20:17 DietPi4 systemd[1]: Stopping php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
Oct 08 12:20:17 DietPi4 systemd[1]: php8.2-fpm.service: Deactivated successfully.
Oct 08 12:20:17 DietPi4 systemd[1]: Stopped php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
Oct 08 12:20:17 DietPi4 systemd[1]: Starting php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
Oct 08 12:20:17 DietPi4 systemd[1]: Started php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
Have you installed PHP8.2 alone or together with another application? At least from our side, we only install the php-fpm service together with one of the web server applications
[ OK ] DietPi-Software | rm -Rf /etc/php//apache2 /var/lib/php/modules//apache2
/boot/dietpi/dietpi-software: line 3765: * 3 : syntax error: operand expected (error token is "* 3 ")
the line that has the error is: