Configuring phpmyadmin
Igor Sysoev
igor at sysoev.ru
Wed May 25 16:48:50 MSD 2011
On Wed, May 25, 2011 at 01:04:44PM +0100, Dick Middleton wrote:
> On 05/25/11 12:58, Trazzt wrote:
> > I really appreciate your help, but PHP is still not working
> > This is how my phpmyadmin configuration file looks like after all your
> > edits:
>
> > location ~ ^/phpmyadmin/.+\.php$ {
> > fastcgi_pass 127.0.0.1:9000;
> > fastcgi_param SCRIPT_FILENAME /usr/share$fastcgi_script_name;
> > include fastcgi_params;
>
> I found I had to use:
>
> fastcgi_param SCRIPT_FILENAME $request_filename;
>
> I don't really understand why.
$request_filename is "$document_root$uri".
--
Игорь Сысоев
http://sysoev.ru
More information about the nginx
mailing list