You don't say if you are installing moodle on Linux or some other OS. If Linux, it may make a difference what distro. I had the same problem over the last few days installing on Ubuntu Linux. Look back a few threads and you will find the results under "For anyone having problems setting up Moodle!" I posted a wiki with the process that I eventually followed to set up Moodle successfully. You will find it at "
http://www.schoolforge.org.uk/index.php/Installing_Moodle_on_an_Ubuntu_workstation "
The important bits are
- install apache2 - to check if this is OK go to http://localhost and you should see the apache welcome page.
- install PHP5 - then restart apache "/etc/init.d/apache2 restart" from the command line"
- install my
sql (if you have a choice, mysql-server). You need to check at this point that you also have the following packages, if not install them manually.
- libapache2-mod-auth-mysql
- php5-mysql
- libapache2-mod-php5
These were the ones that stopped my installation from working.
restart apache again
- Now install moodle and use the following choices
web server Apache2
Database mysql-server
hostname localhost
admin username root (don't worry about the password)
owner moodle (don't worry about the password)
go to http://localhost/moodle/admin and you should be OK.