I experienced this problem from 2 environments.
one was bitnami wordpress stack, and the another was aapanel.
so I just tried to install wordpress manually,
like installing server and database by hand,
and now it works!
just wonders what the problem was
thx for replying