How to Install and Use Codeigniter "Php Framework" on Your Server Using Netbeans 6.5
Edited by Mohammad Alqahtani, Puddy, Blizzerand, Teresa and 3 others
This article explains and shows how to install and configure a php framework (codeIgniter) on your remote server by using NetBeans 6.5; hopefully you'll find that useful.
Edit Steps
-
1If you don't have NetBeans 6.5 on your computer, then you need to download it from NetBeans.Ad
-
2Make sure that PHP plugin is installed with your Netbeans; to do so, you need to open NetBeans, go to Tools, go to Plugins, open the tap "Installed" , look for PHP. If it is not there, then open the tap "Updates" , then look for PHP, if you find it check-mark it, and finally click "Update" at the bottom of the window .
-
3Now, you need to download the PHP framework you will be using in your project; which's CodeIgniter in this case which you can download to your computer (anywhere) from this link.
-
4Now you need to Un-Zip the CodeIgniter file you just downloaded, then rename the un-zipped folder created as the project you will develop.
-
5It is time to create a PHP project in NetBeans by opining NetBeans, go to File, go to New Project, choose PHP from Categories, and choose "PHP application with existing source" from projects, then click Next.
-
6On the source folder, brows to your project folder; which you just renamed
-
7On the Project Name, should be the same name as you named the folder.. then click Next
-
8Now, we need to configure where the project will be tested and running ( on the server on this case).
-
9On Run As, choose "Remote Web Site FTP"
-
10On project URL, put the URL of where the project can be accessed at. E.g. if my website is www.123.com which contains many project, then my current project should be accessed as www.123.com/myProject .
-
11On the index file, you should browse to application/controller/YourController/IndexMethod
-
12On FTP, choose manage, add a new FTP, on the opened window, put the host name, user name and password given to you by your server's host, leave everything else as it's.
-
13You can test your connection with the server, by clicking "Test". If that succeeded, then click OK; to be taken to the main window.
-
14On Upload Directory, make sure you specify where the project resides on your server. For example, if my website is www.123.com which contains many project, and my current project i'm developing now can be accessed as www.123.com/myProject, then the upload Directory should be like /123.com/myProject
-
15On Upload Files, choose on Run.
-
16Click Finish.....Congratulation !! you are done configuring your CodeIgniter project on NetBeans and on your remote server ..Ad
Article Info
Thanks to all authors for creating a page that has been read 21,653 times.