I need help in some configuration
Hello everyone sorry for asking stupid question I'm new to this and start learning , so when I check Host Tools in UNA it show me that PHP is 7.4.33 just in the same time I got an error Cron jobs that PHP is 5.3! when i check the server information i found that the PHP is 5.3 in cPanel when i went to php selector it was 7.4.55! I'm lost do I need to SSH to the server and update it or what I should do! Note I'm using shared server,
thank you for your help I appreciate it 😄
-
-
·
LeonidS
- ·
Hello @anes !
First of all it's better not to use the shared server for the modern sites-solutions (it relates not for UNA software). But perhaps your Cron Jobs trouble is possible to be resolved if you will find the proper path for PHP 7.4 to apply it for the Cron Jobs. So if the default variant looks like /usr/share/php then it should be smth like /user/share/php7.4 (the details might be different). But it's better to ask your hosting support about it.
-
·
LeonidS
-
- · anes
-
·
In reply to LeonidS
- ·
thank you so much , I agree with you for now I'm just learning and discovering I'll get my dedicated server when I feel comfortable
-
- · Rocco
-
·
In reply to anes
- ·
Hello you need check php -v than try sudo update-alternatives --config php
-
- · Ivan Mishchenko
- ·
Do you want to change the PHP version of your Cron job? In my opinion, in cPanel this is done in the task line: /opt/php/7.4/bin/php -q / further
-
thank you so much that help me a lot it working now I used /opt/alt/php74/usr/bin/php -q