I'm trying to install Laravel via SSH but I realised that my PHP CLI is still 5 even if in the website I use 7.2
How can I use PHP 7 CLI and use all the modules include the php pgsql extension?
I have 2 problems.
1) I'm running a cron job with root and it has a pg_connect inside the php script and if I add an alias it doesn't work properly, it's complaining that pg_connect doesn't exist even if with PHP -m it say the contrary
2) I want to use PHP 7.2 also in CLI for laravel but the step 1 has to work because it's for a live website
I'm using Centos 7
How can I use PHP 7 CLI and use all the modules include the php pgsql extension?
I have 2 problems.
1) I'm running a cron job with root and it has a pg_connect inside the php script and if I add an alias it doesn't work properly, it's complaining that pg_connect doesn't exist even if with PHP -m it say the contrary
2) I want to use PHP 7.2 also in CLI for laravel but the step 1 has to work because it's for a live website
I'm using Centos 7