I was able to solve the problem.
I think something was mesh about the podman unshare commands typed.
WordPress user in the container is root, we don’t have to set UID/GID of the local shared directory in my case var-www-html, I was using this user www-data(33) .
Then don’t do this.
#reset to my UID/GID the two local shared directories.
sudo chown chris:chris -R var-*
#set the UID/GID 999 used by mariadb container in the directory /var/lib/nysql
#podman share chown 999:999 -R <your shared directory>
podman share chown 999:999 -R var-lib-mysql
run your scripts.
go to localhost:8080, Woa that finally worked. Hurray.