k done. I am now trying to add phpmyadmin to
http://mywebsite.com/phpmyadmin but when I go to the url, I got the following error: "No input file specified. "
Any fix for it?
Quote:
location /phpmyadmin {
root /usr/share;
index index.php;
}
location ~ ^/phpmyadmin.+\.php$ {
root /usr/share;
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME /usr/share/phpmyadmin$fastcgi_script_name;
include fastcgi_params;
# fastcgi_param HTTPS on;
}
location /phpMyAdmin {
rewrite ^/* /phpmyadmin last;
}