Skip to content

Conversation

@Ghostff
Copy link

@Ghostff Ghostff commented Jul 30, 2020

Due to https://bugs.php.net/bug.php?id=69489, PHP 7.1 and above raises a notice. This PR provides two alternatives.

  1. Using a flag to suppress the error. (Current default behavior)
$config->setOption('suppress_tmp_warn', true);
  1. Explicitly setting a path for unique file creation.
$config->setOption('tmp_path', 'C:\Users\{UserName}\AppData\Local\Temp');

@ConnectGrid
Copy link
Contributor

I created a separate pull-request #271 with an alternate solution.

@Ghostff Ghostff closed this by deleting the head repository Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants