problems Installing moodle

problems Installing moodle

by Calvin Omari -
Number of replies: 6
Hi I am installing moodle but am having problems the installer cannot continue after I enter the file location and localhost url for accessing moodle
Average of ratings: -
In reply to Calvin Omari

Re: problems Installing moodle

by Colin Fraser -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers
... mmmm what OS do you use? what version of Moodle you installing? A Standard installation or Xampp/Moodle or Mamp/Moodle?

If you are installing on a Vista computer, then check your permissions, that is the usual issue. If a Mac then same may apply. Are you using Apache or IIS? MySQL or PostGres or Oracle or something else? What version of PHP? Have you ensured that PHP has been installed properly?

This is all important at this point, then we can start to eliminate things.

You may want to change your installation strategy and use Apache, PHP and MySQL with a standard install, as opposed to a Xampp/Moodle or a Mamp which use XamppLite.

Until we can clean these things up, you may continue to keep struggling and give up as it all becomes a huge time waster. Don't do that, keep it all going and you may yet get it going.



In reply to Colin Fraser

Re: problems Installing moodle

by jusal empera -
i have the same problem too..

i need help please.. i want to install moodle on my computer (ubuntu 9.04) and access intra net to local computer. but i encountered problem during installation when i type http://localhost/moodle on my browser. it will download the whole folder and content inside www which is the moodle directory i extracted. i have successfully installed Apache/2.2.11, PHP/5.2.6-3 and mysql. i also done created database for my moolde. and set permission to moodle directory.

anyone can help me will be appreciated.. thank you!!

heres my screenshot:


Attachment moodle.png
In reply to jusal empera

Re: problems Installing moodle

by Colin Fraser -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers
Perhaps one way around this is to set up vhosts in Apache.

In the httpd.config file, set:

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

and in httpd-vhosts.conf file use something like [Ubuntu might run it slightly differently, so you will have to check for the exact syntax]:

# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
ServerAdmin minime@home.org
DocumentRoot "[drive]:/yourserver/path/moodle"
ServerName moodle
</VirtualHost>

<VirtualHost *:80>
ServerAdmin minime@home.org
DocumentRoot "[drive]:/yourserver/path/drupal"
ServerName drupal
</VirtualHost>

This should give you a better chance to achieve what you are looking for. You will not have anything interfering with each other...
In reply to Colin Fraser

Re: problems Installing moodle

by Colin Fraser -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers
While the above will help, there was a bit I missed out as well. Should have seen it straightaway, sorry.

In the Apache httpd.conf file, you will find a section called DirectoryIndex. This will use whatever file type is available that conforms to what is listed in the following configuration.

It should look like:
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml
</IfModule>

This is probably more relevant than using vhosts.
In reply to Colin Fraser

Re: problems Installing moodle

by jusal empera -
i've already check httpd.conf and its empty. no configuration inside on it. it looks like different in windows i think. im am stock with this project. maybe i could'nt graduate as this will be my final project. i have done this before and it was successful but now its my problem. i supposed to integrate drupal and moodle but i cant proceed to integration becaus of this problem.sadsad sad

please help.. i realy badly need.. sad
In reply to jusal empera

Re: problems Installing moodle

by jusal empera -
i already solved the problem.. i just set the permission of www-datas to 777 then back to chown -R www-data:www-data moodle


Thanks for the help, sir!!