# Open\_basedir restriction blocking file uploads after PHP 8.4 upgrade

**URL:** <https://forum.infinityfree.com/t/open-basedir-restriction-blocking-file-uploads-after-php-8-4-upgrade/120884>\
**Category:** Hosting Support\
**Created:** [September 24, 2026, 6:38am UTC](https://forum.infinityfree.com/t/open-basedir-restriction-blocking-file-uploads-after-php-8-4-upgrade/120884 "2026-09-24T06:38:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![riza.abdullah](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/riza.abdullah/32/67578_2.png) [@riza.abdullah](https://forum.infinityfree.com/u/riza.abdullah)\
**Post date:** [September 24, 2026, 6:38am UTC](https://forum.infinityfree.com/t/open-basedir-restriction-blocking-file-uploads-after-php-8-4-upgrade/120884/1 "2026-09-24T06:38:43Z")

</div>

### Website URL

[https://riza.freehosting.dev/](https://riza.freehosting.dev/)

### 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!

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [September 25, 2026, 3:17pm UTC](https://forum.infinityfree.com/t/open-basedir-restriction-blocking-file-uploads-after-php-8-4-upgrade/120884/2 "2026-09-25T15:17:05Z")

</div>

Yes, this is a server level configuration issue.

This issue isn’t specifically _caused_ by the PHP upgrade itself, but quite a few other modifications were made to harden the server, which did affect file uploads and temporary files.

Both of those work correctly for most websites, but Livewire does something specific that cause it to run into the open\_basedir restriction which is preventing the file uploads from working.

I have submitted a request upstream to the server admins to get this checked so they can find a solution for this.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [October 2, 2026, 3:18pm UTC](https://forum.infinityfree.com/t/open-basedir-restriction-blocking-file-uploads-after-php-8-4-upgrade/120884/3 "2026-10-02T15:18:00Z")

</div>

Closed on October 2, 2026, 3:18pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
