Skip to content

Commit

Permalink
do not fail on creating /tmp/opcache if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Dec 3, 2019
1 parent 86bba7d commit 2058b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/runtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

error_reporting(E_ALL);

mkdir('/tmp/opcache');
@mkdir('/tmp/opcache');

$appRoot = $_ENV['LAMBDA_TASK_ROOT'];

Expand Down

1 comment on commit 2058b1a

@dmyers
Copy link

@dmyers dmyers commented on 2058b1a Dec 4, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've had this happen on my app a lot, can this be tagged in new release?

Please sign in to comment.