Website URL
Error Message
is_file(): open_basedir restriction in effect. File(/home/tmp/phpf1mqa5kherm20JBmS9P) is not within the allowed path(s): (/php_sessions:/home/uploads:/tmp:/var/www/errors:/home/vol14_5/infinityfree.com/if0_42887215/htdocs)
Other Information
Other Information:
My site uses Laravel/Filament and file uploads were working fine before. When my account was on PHP 8.3, uploads worked without issues. After InfinityFree upgraded my account to PHP 8.4, file uploads started failing with the error above.
It looks like the server’s temp upload directory for uploaded files is now /home/tmp/, but this path is not included in my account’s open_basedir allowed paths (which currently only include /php_sessions, /home/uploads, /tmp, /var/www/errors, and my htdocs folder).
Since upload_tmp_dir and open_basedir are server-level settings I cannot change myself, could you please check whether /home/tmp needs to be added to the allowed open_basedir paths for my account? This seems to be a server-side configuration issue rather than something in my code, since nothing changed on my end besides the PHP version upgrade.
Account path: /home/vol14_5/infinityfree.com/if0_42887215/htdocs
Thank you for your help!