Unfortunately it doesn't work any better in the OPNsense 25.7.2-amd64. Same logs, and the directory looks like this:
Code Select
root@OPNsense:~ # tail -10 /var/log/lighttpd/lighttpd_20250825.log
<29>1 2025-08-25T10:23:24+03:00 OPNsense.ikenet lighttpd 82174 - [meta sequenceId="1"] (/usr/obj/usr/ports/www/lighttpd/work/lighttpd-1.4.81/src/server.c.1971) server started (lighttpd/1.4.81)
<27>1 2025-08-25T10:23:24+03:00 OPNsense.ikenet lighttpd 82174 - [meta sequenceId="2"] (/usr/obj/usr/ports/www/lighttpd/work/lighttpd-1.4.81/src/gw_backend.c.533) connect() /var/lib/php/tmp/php-fastcgi-cp.socket-0: Permission denied
<27>1 2025-08-25T10:23:24+03:00 OPNsense.ikenet lighttpd 82174 - [meta sequenceId="3"] (/usr/obj/usr/ports/www/lighttpd/work/lighttpd-1.4.81/src/gw_backend.c.568) bind() unix:/var/lib/php/tmp/php-fastcgi-cp.socket-0: Permission denied
<27>1 2025-08-25T10:23:24+03:00 OPNsense.ikenet lighttpd 82174 - [meta sequenceId="4"] (/usr/obj/usr/ports/www/lighttpd/work/lighttpd-1.4.81/src/gw_backend.c.1712) [ERROR]: spawning gw failed.
<27>1 2025-08-25T10:23:24+03:00 OPNsense.ikenet lighttpd 82174 - [meta sequenceId="5"] (/usr/obj/usr/ports/www/lighttpd/work/lighttpd-1.4.81/src/server.c.1975) Configuration of plugins failed. Going down.
root@OPNsense:~ # tail -10 /var/log/lighttpd/lighttpd_20250825.log
root@OPNsense:~ # ls -la /var/lib/php/tmp/
total 281
drwxrwxrwt 2 wwwonly wheel 960 Aug 25 10:16 .
drwxr-x--- 5 root wheel 512 Jul 6 23:35 ..
-rw-r----- 1 wwwonly wheel 34639 Aug 24 21:45 configdmodelfield.data
-rw-rw---- 1 wwwonly wheel 913 Aug 24 21:45 mdl_cache_OPNsense_Cron_Cron.json
-rw-rw---- 1 wwwonly wheel 12345 Aug 25 10:16 mdl_cache_OPNsense_Firewall_Alias.json
-rw-rw---- 1 wwwonly wheel 229 Aug 24 21:45 mdl_cache_OPNsense_Firewall_Category.json
-rw-rw---- 1 wwwonly wheel 152535 Aug 24 21:45 mdl_cache_OPNsense_HAProxy_HAProxy.json
-rw-rw---- 1 wwwonly wheel 2028 Aug 24 21:45 mdl_cache_OPNsense_IPsec_IPsec.json
-rw-rw---- 1 wwwonly wheel 1947 Aug 24 21:46 mdl_cache_OPNsense_TrafficShaper_TrafficShaper.json
-rw-rw---- 1 wwwonly wheel 2485 Aug 24 21:45 mdl_cache_OPNsense_Wireguard_Client.json
-rw-rw---- 1 wwwonly wheel 982 Aug 24 21:45 mdl_cache_OPNsense_Wireguard_Server.json
-rw-rw---- 1 wwwonly wheel 22790 Aug 25 09:47 opnsense_acl_cache.json
-rw-rw---- 1 wwwonly wheel 23893 Aug 25 10:23 opnsense_menu_cache.xml
srwxr-xr-x 1 root wheel 0 Aug 24 21:46 php-fastcgi.socket-0
srwxr-xr-x 1 root wheel 0 Aug 24 21:46 php-fastcgi.socket-1
srwxr-xr-x 1 root wheel 0 Aug 24 21:46 php-fastcgi.socket-2
srwxr-xr-x 1 root wheel 0 Aug 24 21:46 php-fastcgi.socket-3