I have this project with Laravel and it has an original web service with just pure PHP.
Let's just say, the original service is set with oldservice.co.kr and it is on old server.
And the new service is set with newservice.co.kr and it is on new server.
The original service has many images and files that need to be shown on the new service as well.
Since this is my first time setting like this kind of service, I want to know the best way to transfer the images and files to a new service.
My idea is, 1) make the same path from old server to new server, 2) copy all the images from old server to new server, 3) set the root path with the path of config/filesystems.php in the new Laravel service.
For example, there are images in the old server with /home/user/public_html/member/profile/, I will make a same directory in the new server.
However, I am not sure it is the best way to do. So I want to ask what you usually do when you are in this situation. Please help me to figure out the right way.
Aucun commentaire:
Enregistrer un commentaire