I am developing a website with Lumen framework.
Everything is configured and works perfectly locally. However, this is not the case on the remote server.
Examples:
When I recover a data from my database, even if the column contains only integers, the result in local is
integer
, but in remote :string
. I have to specify(int)
before the integer values to be sure they are integer.Locally, all my classes belong to namespaces. Everything works locally and in remote, sometimes I find myself with
Class 'blabla\blibli' not found
Locally, I use Xampp (PHP Version 5.6.14, MySQL version 5.0.11-dev) and remove, I am on a shared server OVH (PHP Version 5.6.15, MySQL version 5.1.73).
Have you ever been confronted with that? Is there a way to fix this? May be a configuration file to write?
EDIT : Given the comments below, it seems that the answers to my questions actually depends on the operating system use.
Locally, I am working on a Windows machine, while in remote, it is a machine running Linux. Windows seems less of a hassle with certain rules, such as case sensitive.