how to move website created with xampp(windows) to hosting server

旧街凉风 提交于 2019-12-04 21:56:29
  1. Get yourself a simple host provider that gives you roughly the same versions for PHP and MYSQL as your current home install. For starters, choose a shared host with plesk or something simple like that. Make sure you're getting phpmyadmin if you're used to that.
  2. export your database and move it to your host (import)
  3. Go over your code and check for windows-only references. The first things that come to mind are paths (c:\yourpath\www\yoursite\ versus /var/www/yoursite/ for isntance)
  4. Put your code on the site.
  5. test. If you find problems, go to stap 3. If you don't, go to step 6)
  6. ...
  7. profit!
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!