diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 index d5c63d29bba..38f8bd94e7f 100644 --- a/ext/opcache/config.m4 +++ b/ext/opcache/config.m4 @@ -362,7 +362,7 @@ int main() { char *shm; char tmpname[4096]; - sprintf(tmpname,"/opcache.test.shm.%dXXXXXX", getpid()); + sprintf(tmpname,"opcache.test.shm.%dXXXXXX", getpid()); if (mktemp(tmpname) == NULL) { return 1; }