/home/tmp directory no longer exists

Website URL

https://mygrantfamily.great-site.net

Error Message

My WebTrees application has stopped working because PHP reports that the server’s temporary folder cannot be accessed.

The server’s temporary folder cannot be accessed.
sys_get_temp_dir() = “/home/tmp/”
ini_get(“open_basedir”) = “/php_sessions:/home/uploads:/tmp:/var/www/errors:/home/vol14_3/infinityfree.com/if0_42169229/htdocs”

WebTrees previously worked correctly.

I have tested the PHP environment and get:

PHP version: 8.4.25
sys_get_temp_dir(): /home/tmp
upload_tmp_dir: /home/uploads
open_basedir: /php_sessions:/home/uploads:/tmp:/var/www/errors:/home/vol14_3/infinityfree.com/if0_42169229/htdocs

I also tested the directories:

/tmp
Exists: YES
Writable: NO
tempnam: FAILED

/home/tmp
Exists: NO
Writable: NO
tempnam: FAILED

Therefore PHP is reporting /home/tmp as its system temporary directory, but /home/tmp does not exist and is not included in open_basedir.

Could you please check the PHP temporary-directory configuration on my server/account and restore the appropriate temporary directory or correct sys_get_temp_dir() to point to a usable directory?

This is causing WebTrees to report:

“The server’s temporary folder cannot be accessed.”

The problem appears to be a server/PHP configuration issue rather than a WebTrees configuration issue.

This issue is related to this one:

The WebTrees application is based on Laravel, but doesn’t use Livewire. However, this seems to be a configuration check by the WebTrees software itself, and it may simply be reporting an issue based on incorrect assumptions that doesn’t actually exist.

But there is still an issue on our end. I don’t know how it will be solved yet, but I suspect it will fix this issue too.

Thank you, The /home/tmp now exists and the issue is resolved.