Re: Unable to load a file

AllenJB <[email protected]> Mon, 13 Jan 2025 20:30:38 +0000
Newsgroups gmane.comp.php.general
Message-ID <[email protected]>
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?