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

我怕爱的太早我们不能终老 提交于 2019-12-22 01:02:16

问题


I am new to this hosting stuff. I dono anything about hosting a site. I am developing a website in xampp-windows. What should i do for hosting the website in a domain. If u know please tell me about this hosting of a site in my case.


回答1:


  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!


来源:https://stackoverflow.com/questions/4723706/how-to-move-website-created-with-xamppwindows-to-hosting-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!