开发者

Uploading MVC Website and MySQL to Webhost

开发者 https://www.devze.com 2023-02-27 05:37 出处:网络
I created a website using Code Ignitor and MySQL and want to upload everything to 000webhost.com How do I:

I created a website using Code Ignitor and MySQL and want to upload everything to 000webhost.com

How do I:

  1. uploa开发者_如何学运维d my models, views and controllers to the public_html folder of 000webhost?

  2. get my MySQL database up and running on 000webhost?

Thanks in advance


I am presuming that your control panel is cPanel. If thats the case then upload all your files in the web root of the server. Create a database, and change that details in database.php inside config folder. thats it, your site will be up and running.


Your .htaccess (at least mod_rewrite for codeigniter) will not work if you use the free 000webhost service (at least the last time i wanted it, the support told me that they doesn't support it... that was thy time i signed up for their free service for private test of scripts i wrote). Another thing is that for the free hosting they use their own control panel (not cPanel), cPanel is for the paid accounts. Anyway they both offer ftp accounts, mysql databases and of course web ftp (online file manager). All you need is a ftp client (such as FileZilla or even Windows Explorer itself).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号