Tenho dificuldade em atribuir a versão correta do php no moodle,
Então decidi limpar todas as versões e instalar a v8.0
Mas agora, quando eu bloqueio, vejo apenas a fonte do código e nem minha página inicial.
Tenho dificuldade em atribuir a versão correta do php no moodle,
Então decidi limpar todas as versões e instalar a v8.0
Mas agora, quando eu bloqueio, vejo apenas a fonte do código e nem minha página inicial.
Had to use Google Translator ... but from the gist of that ...
See the chart @
http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases
for version of PHP compatibility with Moodle version ... the min/max columns for PHP and the version of moodle code you have ... seen in code directory, version.php file.
'SoS', Ken
One other ... your web service (apache/nginx/lightspeed/?) doesn't know how to serve out .php scripts thus defaults to text - which is why you see the contents of a .php script.
Please review and pick links that relate to your server setup:
https://www.php.net/manual/en/install.php
https://docs.moodle.org/404/en/Installing_Moodle
'SoS', Ken
'Do this in parallel with Ken's help.'
Would if I could, but OP hasn't contacted .... sooooooo ...
Would agree 100% concerning your (Rick) suggestion about MoodleCloud.
'SoS', Ken
Follow up advice ... if still pursuing this strongly advise using ONLY imaps - as that is right on your server.
'SoS', Ken
Hi Ken,
Thanks for your support and advise, and sorry for the late reply, so as per your adivse that their will be a high risk of SPAM/Phising /virus if we enabled the incoming email. what would be your recomendtion for incmoing mail to reduce the high risk. the main purpose of incmoing mail is to be able to solve issues with courses.
I am hosting moodle via Cpanel Linuex Cloud based system version
VPS: CentOS v7.9.2009 Capnel version: 110.0.34
OK, I am pretty sure I tried to do this at one point and it didn't work (as in, at all??)
... oh, I'm going to have to drop $120 for it?
I'm not ready to do that yet. Let me look at some of the other stuff.
Will hostgator do that for you?
When you arrive at AlmaLinux 8, your versions of MySQL (if running MySQL) will be version 8 and there will be higher versions of PHP as well.
That could adversely affect your Moodle if your Moodle is older than 4.0.
http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases
Also, check the EOL date for AlmaLinux 8.
Think I'd wait to tinker with Moodle until after the migration. You might have a lot more work to do after the migration to AlmaLinux 8.
'SoS', Ken
@Susan Jones
Our conversation about your moodle is over @
https://moodle.org/mod/forum/discuss.php?d=459418
You've used private message on this system before.
Look in upper right hand corner when in these forums.
Next to your account icon/preferences on the far right, first icon to the left of that is the private messages.
Click the icon boxed in above.
Then click 'Private'.
You should see our previous exchange as well as a new one I just sent.
'SoS', Ken
I am getting the following message 'The admin/cli/cron.php script has not been run for 12 mins 54 secs and should run every 1 min. More info'
In order to fix this I did this. This is an instance of Moodle 4.0.2 (Build: 20220711) running on Ubuntu 20.04.6 LTS
sudo crontab -u www-data -e
Added the following line to the crontab file:
*/1 * * * * /usr/bin/php /var/www/mywebsite/moodle/admin/cli/cron.php > /var/log/moodle-cron.log
Saved and exited the text editor.
Verified the Cron job:sudo crontab -u www-data -l
Output:
*/1 * * * * /usr/bin/php /var/www/mywebsite/moodle/admin/cli/cron.php > /var/log/moodle-cron.log
But still the cron job is not running every one minute.
Appreciate your help