My Local Environment
PHP - 7.2
OS - Windows
My Server Environment
PHP - 7.1
OS - CentOS
I have tinyint(1)
mysql column type. When I run my php code at local it returns integer data from database of integer column but when I run the code at my server it returns string value.
I also tried to run yum install php-mysqlnd
command at my server but I got Error:
php71w-common conflicts with php-common-5.4.16-45.el7.x86_64
How can I solve this?
I'm using slim-3 framework with eloquent ORM.