Resolved!
httpd.conf
<Directory />
AllowOverride none
Require all denied
</Directory>
Change “none” to “all”, works.
The 5.1.1 version is on another new machine. I just reinstalled 4.9.10, also doesn’t work. I’m find the problem.
This line in httpd.conf is unmarked
LoadModule rewrite_module modules/mod_rewrite.so