How to Install and Use Codeigniter "Php Framework" on Your Server Using Netbeans 6.
If you don't have NetBeans 6.5 on your computer, then you need to download it from NetBeans., Make 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...
Step-by-Step Guide
-
Step 1: If you don't have NetBeans 6.5 on your computer
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 . ,,,,,,,, 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 . ,,, If that succeeded, then click OK; to be taken to the main window. , 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 ,, you are done configuring your CodeIgniter project on NetBeans and on your remote server .. -
Step 2: then you need to download it from NetBeans.
-
Step 3: Make sure that PHP plugin is installed with your Netbeans; to do so
-
Step 4: you need to open NetBeans
-
Step 5: go to Tools
-
Step 6: go to Plugins
-
Step 7: open the tap "Installed"
-
Step 8: look for PHP.
-
Step 9: you need to download the PHP framework you will be using in your project; which is CodeIgniter in this case which you can download to your computer (anywhere) from this link.
-
Step 10: Now you need to Un-Zip the CodeIgniter file you just downloaded
-
Step 11: then rename the un-zipped folder created as the project you will develop.
-
Step 12: It is time to create a PHP project in NetBeans by opining NetBeans
-
Step 13: go to File
-
Step 14: go to New Project
-
Step 15: choose PHP from Categories
-
Step 16: and choose "PHP application with existing source" from projects
-
Step 17: then click Next.
-
Step 18: On the source folder
-
Step 19: brows to your project folder; which you just renamed
-
Step 20: On the Project Name
-
Step 21: should be the same name as you named the folder.. then click Next
-
Step 22: we need to configure where the project will be tested and running ( on the server on this case).
-
Step 23: On Run As
-
Step 24: choose "Remote Web Site FTP"
-
Step 25: On project URL
-
Step 26: put the URL of where the project can be accessed at.
-
Step 27: On the index file
-
Step 28: you should browse to application/controller/YourController/IndexMethod
-
Step 29: On FTP
-
Step 30: choose manage
-
Step 31: add a new FTP
-
Step 32: on the opened window
-
Step 33: put the host name
-
Step 34: user name and password given to you by your server's host
-
Step 35: leave everything else as it's.
-
Step 36: You can test your connection with the server
-
Step 37: by clicking "Test".
-
Step 38: On Upload Directory
-
Step 39: make sure you specify where the project resides on your server.
-
Step 40: On Upload Files
-
Step 41: choose on Run.
-
Step 42: Click Finish.....Congratulation !!
Detailed Guide
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 . ,,,,,,,, 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 . ,,, If that succeeded, then click OK; to be taken to the main window. , 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 ,, you are done configuring your CodeIgniter project on NetBeans and on your remote server ..
About the Author
Scott Wright
Scott Wright has dedicated 9 years to mastering lifestyle and practical guides. As a content creator, Scott focuses on providing actionable tips and step-by-step guides.
Rate This Guide
How helpful was this guide? Click to rate: