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

Introduction

phpMyAdmin want config.inc.php to be not world writable, it’s sound simple, but not if you run phpMyAdmin from an NTFS filesystem (in my case, linux server who mount a Windows folder) it’s not that simple. There are two way to solve this problem :

Simple way, Linux Server, Linux Filesystem

Just chmod 0755 the file

Linux or Windows Server, NTFS Filesystem

If like me you run a Linux Virtual Machine who mount a Windows folder where phpMyAdmin sources are located, edit config.inc.php and add this line :

This will tell phpMyAdmin to stop checking for fileperm because they can’t be properly detected.

Hope this help

7 Responses

  1. chip says:

    Thank you 🙂

  2. nadia says:

    thank you very much

  3. It works. Thanks a lot.

  4. Prerna Agrawal says:

    it is not working for me

  5. uhpone says:

    thanks very much indeed.

  6. Adam says:

    What to do pn mac os? How to set chmod and where?

  7. mahesh rathore says:

    Thanks a lot its really work quickly

Leave a Reply

Your email address will not be published. Required fields are marked *