PHP vers. 4.3.8
Apache vers. 1.3.31
Moodle vers. 2004083101 (1.41)
On running "mysite/moodle/install.php" it gets as far as the screen where moodle decides that my directories are:
WEB ADDRESS http://www.scout-enterprises.co.uk/moodle
MOODLE DIRECTORY /usr/local/home/httpd/vhtdocs/scout-enterprises.co.uk/docs/moodle
DATA ADDRESS /usr/local/home/httpd/vhtdocs/scout-enterprises.co.uk/moodledata
When I hit 'next' I get the error:
"The web address does not appear to be valid - this Moodle installation doesn't appear to be there"
On looking at the PHP code in "install.php" it looks to me as if -
if (($fh = @fopen($INSTALL['wwwroot'].'/install.php', 'r')) === false) {
$errormsg = get_string('wwwrooterror', 'install');}
else {
fclose($fh); . . .
fails to open the file for reading.
The folder moodle is owned by "web"
moodle/install.php (also owned by web) has chmod of 777
If I place the code:-
$temp=$INSTALL['wwwroot'].'/install.php';
echo("temp is<br>$temp<br>");
before the if statement it returns
"temp is
http://www.scout-enterprises.co.uk/moodle/install.php"
As I would expect - so it is trying to open the above file.
I have run out of ideas - any suggestions