Permissions issue during installation

(3 posts) (2 voices)

Tags:

No tags yet.

  1. salocin001, Member

    I have a new LAMP install on CentOS. I have been trying to install mydbr and get stuck at "Please make sure that /var/www/html/mydbr/mydbr_config.php is writable to the web server." I have verified that the directory and file are both owned by apache, changed the permissions to 777, but still get stuck at the same place. This is probably a general linux problem and not a specific mydbr issue, as I have the similar when trying to install reportico-4.3. I copied info.php into the mydbr directory and was able to run it without problem. I am at a loss.

    Any suggestions?

  2. myDBR Team, Key Master

    The first thing to check is that if your CentOS has SELinux enabled. SELinux creates additional permission structure above the traditional chmod flags.

    If SELinux is enabled, it will by default prevent the web server writing to files (which myDBR does during the install and update). To complete the configuration you need to label myDBR files with httpd_sys_rw_content_t using chcon.

    --
    myDBR Team

  3. salocin001, Member

    That was it.

    Thanks!


Reply

You must log in to post.