Required to transfer the site to WordPress. It would seem simple - transfer files, in the dump, replace the old domain with a new one and that's it.
But I ran into such a problem: WP stores settings like this: s:21:'http://localhost:8888' , i.e. s - string, 21 - the size of the next line. When replacing localhost:8888 with a new domain, it cannot parse these settings, since there is already another string length.
The lines can be like this: s:99:'asdf sadf localhost:8888 sadf asfd' .
How to transfer in this case?
PS I did not develop. I just need to make a hosting.