I have problem on Rocky Linux 9 server with apache and php-fpm. I have set "SetEnv PHP_ADMIN_VALUE : apache lost this when php-fpm reboot. It’s same at startup.
An example of my httpd conf (No VirtualHost) :
Alias /env_etu "/usr/local/www/appli/environ_etudiant/root"
<Directory "/usr/local/www/appli/environ_etudiant/root">
SSLRequireSSL
AllowOverride None
Require all granted
SetEnv PHP_ADMIN_VALUE="open_basedir=/users/:/users/home:/usr/local/www/appli/environ_etudiant;error_reporting=0"
</Directory>