dqx76962 2016-09-13 06:10
浏览 21
已采纳

too long

I am trying to get phpMyAdmin installed on my Mac El Capitan. Every time I go to:

http://localhost:8080/phpMyAdmin/setup/

I get the setup page but every time I click "save", I get the following error:

Please create web server writable folder config in phpMyAdmin top level directory as described in documentation. Otherwise you will be only able to download or display it.

I read other threads on Stackoverflow, and did the following:

  1. Created manually a file in my MAMP/htdocs/phpMyAdmin/config.inc.php
  2. Opened the file and added:

    $i=0;
    $i++;
    $cfg['Servers'][$i]['user']          = 'root';
    $cfg['Servers'][$i]['password']      = 'cbb74bc'; // use here your password
    $cfg['Servers'][$i]['auth_type']     = 'config';
    ?>
    

(That came from a guide found on the path: http://localhost:8080/phpMyAdmin/doc/html/setup.html#setup_script )

This did not solve my problem. I can see around stackoverflow, that this solved the problem for everybody. Does anybody have a clue about what could be wrong here?

Best Regards

Update after answers When I just go to the main folder of the phpadmin I get this error:

enter image description here

Everything should have read/write access now:

Image

  • 写回答

2条回答 默认 最新

  • douzong0711 2016-09-13 10:00
    关注

    Please create web server writable folder config in phpMyAdmin top level directory as described in documentation. Otherwise you will be only able to download or display it.

    From the message, you need to create a folder within your root phpMyAdmin directory, named config. And it should be writable by your webserver user.

    From the phpMyAdmin docs:

    cd phpMyAdmin
    mkdir config                        # create directory for saving
    chmod o+rw config                   # give it world writable permissions
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥30 深度学习,前后端连接
  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法