Questions tagged [codeigniter]

CodeIgniter is an open source MVC framework for PHP.

From the website: CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications.

Links

69 questions
0
votes
2 answers

Multiple php-fpm pools and nginx

I have a website which is built on Codeigniter 3. It is a typical nginx + php-fpm setup. Now I need to direct some of the requests to be handled by another php-fpm pool. Here is a simplified example of the configuration: nginx…
Steve
  • 143
  • 1
  • 8
0
votes
1 answer

"The User Agent is required to access this page" message only goes away when I clear NGINX cache

I'm new to NGINX and can't really tell if there's a problem with it or with our app. My PHP application has a php package Device Detector that is responsible for User Agent info as well as CodeIgniter, which has a file UserAgent.php. I had an event…
0
votes
2 answers

AWS EC2 MySQL Replication: Config To Query Slave From Master

I have successfully set up a MySQL master-slave situation on separate AWS EC2 instances. The slave is running and is successfully replicating the master. So far so good. Now I want to be able to query the slave (for analytics, etc.) but I can't find…
0
votes
0 answers

Subdomain in nginx with codeigniter

So currently all users profile page are loaded on path https://example.com/username. i want to change that and load user profile page on https://username.example.com. i am using nginx as web server,below is the server block i have tried server { …
0
votes
0 answers

Integrate Codeigniter and Phplist 404 Nginx

Im trying to install codeigniter inside phplist and everything is running well in apache. But its getting 404 when uploaded to live server which is using nginx. I knew it must be the mod_rewrite problem, and trying google the config but no…
0
votes
2 answers

Virutal Hosting using XAMPP in AWS EC2 INSTANCE

Trying to host 2 or more domains in a single aws ec2 instance. my configuration is: host: 18.219.39.37 [my domain] httpd.conf: Listen 80 AllowOverride none Require all granted #Virtual hosts Include…
-1
votes
1 answer

Blank CodeIgniter Home Page on Amazon EC2

My CodeIgniter app is working fine in WAMP using http://localhost/myapp However, I'm getting a blank page on my Amazon EC2 micro instance using http://xxx-xxx-xxx-xxx-xxx.compute-1.amazonaws.com/myapp . Also, I still get the Amazon Linux AMI Test…
Anthony
  • 201
  • 1
  • 6
  • 12
-1
votes
1 answer

How can I fix the error Undefined variable: _ENV in /home/nginx/domains/mydomain.com/system/Config/BaseConfig.php?

I am trying to install a Codeigniter application in pure NGINX + PHP-FPM environment but it was previously developed in apache . After adding all the proper rules to Nginx in order to work with Codeigniter I am being faced with this error related to…
-2
votes
2 answers

Cron job on Justhost not accepting parameters

I have a PHP web app on Justhost (webhosting provider). This PHP web app uses the Codeigniter framework. To run cron jobs on this web app (http://codeigniter.com/user_guide/general/cli.html): php /home/user/path_to_file/index.php cron daily It works…
wyred
  • 217
  • 1
  • 2
  • 7
1 2 3 4
5