permissions - phpmyadmin on debian with nginx -


i'm trying use deabian's package of phpmyadmin nginx. in tutorials create symlink phpmyadmin source files virtualhost, this:

$ln -s /usr/share/phpmyadmin/ /var/www/host.com/phpmyadmin 

i think first problem is, nginx running under nobody user, owner of phpmyadmin files root. tried change owner nginx user didn't helped. second problem might usage of symlink, tried enable nginx follow symlinks:

disable_symlinks off; 

it didn't help. server still returning

no input file specified.

when try view phpmyadmin index. http request generate errors:

2015/05/12 02:07:02 [error] 4017#0: *35 fastcgi sent in stderr: "unable open primary script: /var/www/host.com/phpmyadmin/index.php (operation not permitted)" while reading response header upstream

what i'm doing wrong? , what's proper way make work ability upgrade phpmyadmin via apt-get? thanks.

if you're using package manager, shouldn't create link or change users on own -- package manager should handle setting permissions , aliases correctly.

i suggest undoing you've done running dpkg-reconfigure --plow phpmyadmin shell/command line in order force apt/dpkg reconfigure package. make sure select nginx in screen prompts webserver use.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -