![]() ![]() BTW, did you type in your browser, or Because when you download the zip file of Moodle and extract it, the top level directory that gets extracted is moodle (where index.php, install.php, and config-dist.php are) everything else is inside that.If not, we'll have to take a close look at your Apache configuration. If you get a (non-blank!) page, attach it to a post (it's probably too long to include in the post). Just to make sure everything is as it should be, why not try phpinfo: create a text file called info.php as described here, and see what happens when you point your browser at it. The second suggestion in the FAQ, to check that PHP is configured to work with MySQL, should not be a problem, either.JW's questions assumed you are, and your answer to him seems to confirm that. If you are using the complete Windows package of Moodle, it should be. Which makes me wonder whether Apache is going to the right directory, and whether it has the right default file. However, if the first page you get when you point your browser there is blank, you're not getting those questions. Instead, make sure you give the wizard the right answer when it asks for the pathname to your Moodle directory. So if you don't have config.php yet, there is no place to look for the dirroot line.It then uses the answers you give it to create config.php. This is basically a "wizard" that asks you a series of questions about the pathnames of important directories on your system, URL, database, and other parameters. When config.php does not exist, index.php (the default file in the main directory that is accessed when you don't specify a file name in your browser) detects this and redirects to install.php. ![]() This is because you haven't gotten far enough in the installation process it hasn't been created yet. I gather you don't have a file named config.php in your main Moodle directory (the one containing config-dist.php).You might need to do that eventually, but first things first. It is also used to manually create config.php if the installation script doesn't work.The last line above is the one I was referring to. They are ignored when the file is interpreted by PHP. $CFG->dirroot = '/home/example/public_html/moodle' $CFG->dirroot = '/home/example/public_html/moodle' // Cpanel host $CFG->dirroot = '/var/www/html/moodle' // Redhat Linux $CFG->dirroot = 'c:\program files\easyphp\www\moodle' // Windows Make sure the upper/lower case is correct. Next, specify the full OS directory path to this same location As such, it should and does contain a line beginningįor example, in the Moodle on my PC (1.8.3), section 3 of the file looks like this: However, config-dist.php is a sample of what config.php should look like, with a whole lot of extra settings that are not normally used, just so you know what your options are.config-dist.php and config.php are two different files so the answer to the question "Am I in the wrong place?" is yes.Now lets get back to the questions raised in your previous post: So if Apache was running, that's not the reason for the problem.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |