Comments on How to Install Moodle 3.2 on CentOS 7
In this tutorial, I will show you step by step how to install the latest stable Moodle on CentOS 7. Moodle is an open source eLearning software written in PHP. It is used for distance education, e-learning projects, and blended learning. Moodle will run under the Nginx web server, using a MariaDB database server and using PHP-FPM7.0. For the operating system, we will use CentOS 7.
5 Comment(s)
Comments
How to redirect from htttps to http in ngnix
# Nginx redirect HTTP to HTTPS - moodle.hakase-labs.comserver { listen 80; server_name moodle.hakase-labs.com; # enforce https return 301 https://$server_name$request_uri;}
I followed the guide and got:
FastCGI sent in stderr: "Unable to open primary script: /var/www/moodle/index.php (No such file or directory)" while reading response header from upstream, client: 127.0.0.1, server: test.moodle, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "test.moodle"
Any idea how that cold be fixed?
Dear,
I followed the tutorial and did all the things step by step. My only difference is that I changed "moodle.hakase-labs.com" to "moodle.ali-test.com" in moodle-conf. WHen pasting to url the message "server not found" is shown.
Please help me solve the problem.
Thanks in advance.
Hi Muhammad Arul,
Your article is really helpfull. would you mind to share your email. I plan to contact you in regards of moodle installation. i can be reach via whatsapp +60124883001