11-11-2014, 01:34 AM
I am not using apache on my server. Is it possible to use codeigniter with nginx?
Thanks
Thanks
can i use codeigniter with nginx?
|
11-11-2014, 01:34 AM
I am not using apache on my server. Is it possible to use codeigniter with nginx?
Thanks
11-11-2014, 02:03 AM
(11-11-2014, 01:34 AM)agriz Wrote: I am not using apache on my server. Is it possible to use codeigniter with nginx? Yep Sure! Works like a charm! Any help setting up let me know? Cheers.
11-11-2014, 04:28 AM
Sure you can, i've been using it like that on tons of projects.
11-11-2014, 04:31 AM
ci can be used on all major server an os because its a non exotic php framework ;o)
11-11-2014, 05:13 AM
Yes, you can use CI over nginx (Engine X). CI is basically a PHP based framework. So, you need a web server to handle your request and responses and run your codes. A web server may be apache, nginx, IIS or PHP inbuilt web server.
If you want to install and setup nginx on Ubuntu. You can refer to http://getweblessons.com/install-configu...ntu-14-04/. Let me know if you need any more help. Nitin
11-12-2014, 11:56 AM
(11-11-2014, 01:34 AM)agriz Wrote: I am not using apache on my server. Is it possible to use codeigniter with nginx? Hello, that is the same question that i was wondering one year ago. O yeah yes you can and very easily ![]() This is part of my configuration for CI on nginx PHP Code: location ~* \.(ico|css|js|gif|jpe?g|png)(\?[0-9]+)?$ {
12-12-2014, 08:03 AM
Ok you guys,
As there are some nginx experts in here... Maybe one of you can be of assistance. I'm trying to figure out for some time to get a CI project working on a new server running nginx. I have tried a couple of things but nothing seems to work. Apache was never a problem, but because I am a complete newby on nginx configuration I can't get things to work. My standard nginx config is the following: Code: server { How can I change things so that stuff like rewriting etc. works..? I found this article about a nginx config with a very rich featured config I really want to use: http://www.farinspace.com/codeigniter-ng...ite-rules/ Does anyone know how I can change my config and add the cool features from the article above? Thanks in advance, -Roger |