What I stumbled upon when using CodeIgniter on a Linux server

Introduction

I am developing using CodeIgniter, a PHP framework, in the environment of xampp, and I am about to upload it to a Linux server and proceed with development, and as soon as I upload it to a Linux server, it becomes difficult to connect even if I access the URL. I was annoyed for about an hour and finally solved it by the method in this article.

Follow the naming convention

The conclusion is to follow the naming convention !!

When I was developing in the xampp environment, the OS I was using was Windows. The part becomes important in the OS here. When I was developing in the xampp environment, I was developing with lowercase letters at the beginning of the file in the folders of controllers and models. However, the cause was that I was advancing the file here in lowercase. Yes, filenames start with a capital letter. (I should have read the official documentation properly) As I said earlier, the OS is important because Windows and Mac do not distinguish between case names, but Linux does.

Observe the naming convention !!

in conclusion

I hope there is a little more CodeIgniter Japanese site (laughs)

reference

PHP Style Guide — CodeIgniter 3.2.0-dev Document

Recommended Posts

What I stumbled upon when using CodeIgniter on a Linux server
What I did when I stumbled on a Django tutorial
What I stumbled upon using Airflow
[Linux] Let's talk about when I stumbled upon a symbolic link I was using.
A memo that I stumbled upon when doing a quote RT on Twitter Bot
I stumbled upon using MoviePy, so make a note
SoC FPGA: A small story when using on Linux
Run a Linux server on GCP
A note I was addicted to when making a beep on Linux
What I got into when using Tensorflow-gpu
I stumbled upon installing sentencepiece on ubuntu
Build a Samba server on Arch Linux
intel Atom (notebook) Frequent petit freezes when using linux on a PC.
What I did when I stumbled upon mounting on MyDrive and loading an ipynb file in Google Colaboratory
A addictive story when using tensorflow on Android
Linux Ubuntu16.04 I got a little scary error when I ran a command using sudo
The world changed when I opened a big Python project (Django) on Sourcetrail (Linux)
Set up a file server on Ubuntu 20.04 using Samba
I got a UnicodeDecodeError when pip install on ubuntu
[Part 2] Let's build a web server on EC2 Linux
[Part 1] Let's set up a Minecraft server on Linux
What to do when matplotlib gets angry on CentOS saying "I'm using Agg so I can't issue a figure"
[Python] I tried running a local server using flask
The story when I was using IntelliJ on Linux and could not input Japanese
A swampy story when using firebase on AWS lamda
What to do if you get the error ʻERR_FEATURE_UNAVAILABLE_ON_PLATFORM` when using ts-node-dev on Linux
What I was addicted to when using Python tornado
I stumbled upon PyUnicodeUCS4_FromStringAndSize when inserting TensorFlow with pip
When I tried to build a Rails environment on WSL2 (Ubuntu 20.04LTS), I stumbled and fell.
What I was addicted to when dealing with huge files in a Linux 32bit environment
SSH connection to a private server using a bastion server on EC2
A story that stumbled when using pip in a proxy environment
I made a VGG16 model using TensorFlow (on the way)
I stumbled when I tried to install Basemap, so a memorandum
Install Linux (CentOS) on your PC using a USB stick
What I was asked when using Random Forest in practice
I stumbled on TensorFlow (What is Out of GPU Memory)
A note when I can't open Jupyter Notebook on Windows
Where I stumbled on SQLite3
I stumbled upon trying Pylearn 2
What I learned about Linux
I built an environment from centos installation to php source expansion on linux, but what to do when a browser error occurs
I tried to create a server environment that runs on Windows 10
I got a TypeError:'int' object is not iterable when using keras
I tried installing MySQL on a Linux virtual machine on OCI Compute
Scribble what I used when using ipython in formatting pos data
I get a can't set attribute when using @property in python
A note on using tab completion when running Python interactively on Windows
I made a poker game server chat-holdem using websocket with python
I made a Chatbot using LINE Messaging API and Python (2) ~ Server ~
Host the network library Mirror for Unity on a Linux server
A memorandum when using beautiful soup
I made a Line-bot using Python!
Install Arch Linux on DeskMini A300
[Linux] I installed CentOS on VirtualBox
Create a Linux environment on Windows 10
Run TensorFlow2 on a VPS server
Notes on using matplotlib on the server
I installed Linux on my Mac
A story I was addicted to trying to install LightFM on Amazon Linux
I measured the run queue wait time of a process on Linux