Install.php

Install.php

by Denise Fernandes -
Number of replies: 7

I have this message:

You don´t have permission to acces /install.php in this server...

What´s this?

Average of ratings: -
In reply to Denise Fernandes

Re: Install.php

by Richard Enison -

DF,

Either your operating system permissions for the Moodle folder (directory) are too restrictive, or the configuration of your web server s/w (Apache, IIS, etc.) needs to be changed.

At this point we don't know what operating system or web server you are using. General rule of thumb: you are more likely to get help in these forums, and sooner, if you describe your server environment:

What version of Moodle did you install? Was it generic or a Windows or Mac package?
What operating system? (Windows, Linux, etc.) What version?
Is it on the Internet, a LAN, or just your home PC for practice and testing? Is it your server or are you using a web hosting service?
What web server s/w (Apache, IIS, etc.)? What version?
What type of database (MySQL, PostgreSQL, etc.)? What version?
What version of PHP?

RLE

In reply to Richard Enison

Re: Install.php

by Denise Fernandes -
Hi Richard,

Linux Fedora Core 6
MySQL
PHP 5.2-4
moodle-latest-17
Virtual machine on a network
I´m working directly on a webserver Apache (2.2-6)
In reply to Denise Fernandes

Re: Install.php

by Richard Enison -

DF,

Okay. I guess you scored about 92% on your test. The 8% off is for not giving the version of MySQL, but that shouldn't enter into the problem at this point.

Now, you say you are working directly on a webserver. I take it that means you have control of the server, i.e., it is not a shared host. In that case, it would be helpful if you posted

  1. the (absolute) pathname of the main Moodle folder (directory), where install.php is located;
  2. the pathname of your Moodle data folder; and
  3. attached a copy of your httpd.conf configuration file for Apache.

Also, what Linux user owns the folders mentioned in #1 & #2 above, and what is the permission code for those folders? Both of these questions can be answered by running the Linux command

ls -l xxx

where xxx is the parent folder of the folder in question. If #1 and #2 have different parent folders, this will take two commands (well, it could be done with one, but let's not get complicated). smile

RLE

In reply to Richard Enison

Re: Install.php

by Denise Fernandes -

Richard, please,

Where´s the answer... Please...

This is driving me crazy!!!

I need to finish this moodle installation...

In reply to Denise Fernandes

Re: Install.php

by Richard Enison -

DF,

The answer, I believe, is in httpd.conf. Perhaps you could make a copy of it, erase the sensitive info in it, and send it to me as a private Moodle msg.

One possibility is: look for a User directive in it that is not commented out. This is the username Apache runs as when you start it up as root. If this name is not nobody, either change it or change the ownership of moodle and moodledata.

RLE

PS. You have moodledata under moodle. That is not a good idea for security reasons. Since you own the server, you didn't need to do that. If you move it, be sure to adjust the pathname you give the Moodle installation script for it.

In reply to Richard Enison

Re: Install.php

by Denise Fernandes -

Ok. To me is ok..

If you don´t mind you can send to me your private email...so I can send to you my file .conf.Thank´s a lot.

Best regards

Denise

In reply to Richard Enison

Re: Install.php

by Denise Fernandes -

Hi Richard,

Ok, it is not a shared host. I´m a web owner.

The absolute path is /usr/local/moodle

drwxrwx--x 31 nobody nobody 4096 Nov  8 11:13 moodle

The path of the moodle data is /usr/local/moodle/moodledata

drwxr-xr-x  2 nobody nobody    4096 Out 29 17:37 moodledata

The path of the httpd.conf is /etc/httpd/conf/httpd.conf

Because of the security, I can´t send my  httpd.conf.

Thank´s a lot,

Regards,