Results 1 to 8 of 8

Thread: Wrong permissions on configuration file, should not be world writable!

  1. #1
    Join Date
    Mar 2010
    Beans
    3

    Wrong permissions on configuration file, should not be world writable!

    Wrong permissions on configuration file, should not be world writable!

    I encountered a problem when I am trying to access my phpmyadmin… the error came up:
    Wrong permissions on configuration file, should not be world writable!


    help plz

  2. #2
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,398
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Wrong permissions on configuration file, should not be world writable!

    What config file? Is it for PhpMyadmin itself? Often when installing programs manually, config files are installed with loose permissions making configuration easy. Usually the instructions tell you to chmod the files as soon as config is complete. Some even have you move the file.
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

  3. #3
    Join Date
    Mar 2010
    Beans
    3

    Re: Wrong permissions on configuration file, should not be world writable!

    /var/www/phpmyadmin/config.inc.php

  4. #4

    Re: Wrong permissions on configuration file, should not be world writable!

    I guess you /var/www is 777.
    You should do a chmod 755.
    Freedif.org, news & tutorials on self-hosting services.

  5. #5
    Join Date
    Mar 2010
    Beans
    3

    Re: Wrong permissions on configuration file, should not be world writable!

    it works now .....10000 thanks

  6. #6
    Join Date
    Mar 2010
    Location
    Los Angeles, CA
    Beans
    231
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Wrong permissions on configuration file, should not be world writable!

    This should have been mentioned in the phpmyadmin documentation. Please either let them know so they can update it, or kick yourself for not reading it.

  7. #7
    Join Date
    Dec 2009
    Beans
    25
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Wrong permissions on configuration file, should not be world writable!

    Anyway In ubuntu 10.04(Lucid lynx) I didnt found any /var/www directory.


    Instead in your lampp installation directory, In my case:

    /opt/lampp/htdocs/xampp/mysql.php

    I found the line mysql_connect("localhost");

    edit that line, add the username,password: mysql_connect("localhost"."mysql_username","passwo rd");

    and then chmod the file to 0755.

    That works for me

  8. #8
    Join Date
    Dec 2011
    Beans
    2

    Re: Wrong permissions on configuration file, should not be world writable!

    Quote Originally Posted by haafmaad View Post
    Anyway In ubuntu 10.04(Lucid lynx) I didnt found any /var/www directory.


    Instead in your lampp installation directory, In my case:

    /opt/lampp/htdocs/xampp/mysql.php

    I found the line mysql_connect("localhost");

    edit that line, add the username,password: mysql_connect("localhost"."mysql_username","passwo rd");

    and then chmod the file to 0755.

    That works for me
    thanks.. it worked for me!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •