[Tanya] Running phpmyadmin on Nginx?

Discussion in 'VPS (Virtual Private Server)' started by damblue, 4 Sep 2016.

Thread Status:
Not open for further replies.
  1. damblue

    damblue Poster 1.0

    Messages:
    57
    Likes Received:
    9
    Trophy Points:
    8
    Saya sudah instal phpmyadmin. dengan Commands berikut:
    apt-get update
    apt-get install phpmyadmin
    ln -s /usr/share/phpmyadmin /usr/share/nginx/html
    service nginx restart
    service php7.0-fpm restart

    nah setelah instal config di nginx saya tambahin ini
    Code:
    location /phpmyadmin {
            alias /usr/share/phpmyadmin;
    }
    location ~ ^/phpmyadmin(.+\.php)$ {
            alias /usr/share/phpmyadmin;
            fastcgi_pass 127.0.0.1:9000;
            fastcgi_index index.php;
            fastcgi_param SCRIPT_FILENAME /usr/share/phpmyadmin$1;
            include fastcgi_params;
    }
    location ~ ^/phpmyadmin/(.*\.(eot|otf|woff|ttf|css|js|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|xls|tar|bmp))$ {
            alias /usr/share/phpmyadmin/$1;
            expires 30d;
            log_not_found off;
            access_log off;
    }
    
    tapi ga jalan jalan Tuan phpmyadminnya
    karena ga jalan saya tambahin ini lagi
    ln -s /usr/share/phpmyadmin /var/www/
    soalnya web saya simpannya disitu bukan di /usr/share/nginx/html
    tetap ga jalan.

    kira-kira apa yang kurang dan salah.
    Please Bantu.

    Terima Kasih.
     
  2. arieonline

    arieonline Expert 1.0

    Messages:
    885
    Likes Received:
    127
    Trophy Points:
    43
    mending anda download phpMyAdmin dari web nya langsung, kemudian anda extract ke /var/www/
     
  3. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Darimana anda dapat setting 'aneh' terkait 'location' (yang anda tambahkan tersebut) ?.
     
  4. damblue

    damblue Poster 1.0

    Messages:
    57
    Likes Received:
    9
    Trophy Points:
    8
    kalau sudah download dan ectrak diapain lagi om?
    please lanjutannya?


    saya search di google nemu di google om.
    ada solusi?
     
  5. arieonline

    arieonline Expert 1.0

    Messages:
    885
    Likes Received:
    127
    Trophy Points:
    43
    tinggal akses dari webbrowser aja mas
     
  6. damblue

    damblue Poster 1.0

    Messages:
    57
    Likes Received:
    9
    Trophy Points:
    8
    langsung taruh didalam gini?
    [​IMG]
    ga bisa om
    [​IMG]
     
    Last edited: 4 Sep 2016
  7. damblue

    damblue Poster 1.0

    Messages:
    57
    Likes Received:
    9
    Trophy Points:
    8
  8. GPLHosting

    GPLHosting Expert 2.0

    Messages:
    977
    Likes Received:
    466
    Trophy Points:
    63
    .. hacker ... Blue house ... *ga bs masang PMA* ... :36:
     
  9. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Saya katakan aneh karena semestinya bisa lebih sederhana.
     
  10. damblue

    damblue Poster 1.0

    Messages:
    57
    Likes Received:
    9
    Trophy Points:
    8
    wkwkkwkwkw suhu nyindir nobita nih :20:
    dedek baru belajar server hu, hu mau kena cipok? :21::8:
    kan saya blom tau Tuan mangkanya saya coba-coba hehehhehe :113:
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...