Showing only coding when I finished the installation.

Showing only coding when I finished the installation.

by Poorna Sandeepa Jayasinghe -
Number of replies: 6

When I finished my configuration of the server then I go to my server address but I could see only this coding. Not the default page. A

Average of ratings: -
In reply to Poorna Sandeepa Jayasinghe

Re: Showing only coding when I finished the installation.

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
You don't have PHP installed and configured properly. It's not a Moodle problem as such. How you fix that depends on your operating system / web server and how PHP was installed (or not)
In reply to Howard Miller

Re: Showing only coding when I finished the installation.

by Poorna Sandeepa Jayasinghe -
I have done the installation of PHP as good but I dont know what happend
I just tried like 8 times but everytime ihad got this screen everytime
In reply to Poorna Sandeepa Jayasinghe

Re: Showing only coding when I finished the installation.

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Ok - but you're not giving any extra information that would give us a chance to help you.
In reply to Howard Miller

Re: Showing only coding when I finished the installation.

by Poorna Sandeepa Jayasinghe -
I dont have any idea what kind of informations you need exactly. ;) im using Linux OS the server is AWS
In reply to Poorna Sandeepa Jayasinghe

Re: Showing only coding when I finished the installation.

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Create (or copy) a PHP file with the single-liner <?php phpinfo(); ?> in the Moodle code directory (where the config.php is). Call that file phpinfo.php and visit it from a browser at yoursite/phpinfo.php. If it still displays the plain code, talk to the system administrator. Once you get a long, formatted page like the one below, then visit yoursite/ again and Moodle will talk.

Attachment phpinfo-linux.png
Average of ratings: Useful (1)
In reply to Poorna Sandeepa Jayasinghe

Re: Showing only coding when I finished the installation.

by Ken Task -
Picture of Particularly helpful Moodlers

Study up! smile

https://docs.moodle.org/400/en/Amazon_EC2_Cloud_Services_Installation
but old and specific to Redhat/Fedora? based Linux ... hints/clues are:
"...time of writing 26-01-2012 ...) and use of 'yum' package manager for installing requirements for Moodle to run.

Here's one that is newer ...
https://knowledgeacademy.io/moodle-installation-and-configuration-on-amazon-ec2-instance/
appears to be "New released year 2020 Moodle version is 3.9."

You can find other hits:
https://www.google.com/search?client=&q=installing+moodle+on+AWS

'SoS', Ken

Average of ratings: Useful (1)