I know php-fpm isn't intended to be used from bash as much as, say, php-cli, but I'm making a common interface for my website from both my broswer and the command line, and I need the executing version to be exactly the same.
echo '<?php echo 1' | socat - UNIX-CLIENT:/var/run/php/php7.2-fpm.sock
doesn't work, but I guess it is maybe because I don't extract the output, but either way I wouldn't know how to do that.
Any idea ?
php.inifor bothphp-fpmandphp-cliare the same?