Install phpMyAdmin with Apache and Nginx in FreeBSD 10.2

3 Responses

  1. piraisudan says:

    could you post “install lighttpd and php with mysql in free bsd 10.3″……

  2. Paweł Prusiński says:

    for nginx

    server {

    listen 446;

    ssl on;

    ssl_certificate /usr/local/etc/nginx/cert/file.crt;
    ssl_certificate_key /usr/local/etc/nginx/cert/file.key;

    server_name XXXXXXXX.XXXX;

    root /usr/local/www/phpMyAdmin;
    index index.php;

    # set expiration of assets to MAX for caching

    location ~* .(ico|css|js)(?[0-9]+)?$ {

    expires max;

    log_not_found off;


    location ~* .php$ {

    fastcgi_pass unix:/var/run/php-fpm.sock;

    fastcgi_index index.php;

    fastcgi_split_path_info ^(.+.php)(.*)$;

    include fastcgi_params;

    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;


Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.