Re: Unable to load a file
| From: | AllenJB | Date: | Mon, 13 Jan 2025 20:30:38 +0000 |
| Subject: | Re: Unable to load a file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328604@lists.php.net to get a copy of this message | ||
On 13/01/2025 19:51, John Iliffe wrote:
Since the script works in one place and not another I suspect that there is some difference between php-fpm and php on the command line but I haven't been able to find it yet. Any ideas where to look?Do you have chroot configured, either Linux level or in the php-fpm pool config? Is open_basedir enabled? (for web requests - these may use a different php.ini than commandline. Check the output of phpinfo() from a web request - in particular the top section will tell you what ini files were read) Are containers (eg. Docker, podman) involved at all?