Phpmyadmin and nginx

Cliff Wells cliff at develix.com
Thu Apr 2 21:46:58 MSD 2009


On Thu, 2009-04-02 at 20:37 +0300, Yordan Georgiev wrote:
> Ok. what comes next?
> 1. apt-get install phpmyadmin -y
> 2. nano /etc/nginx/nginx.conf
> 3. insert this:
> location /phpmyadmin {
>             alias /usr/share/phpmyadmin/;
>         }

4. start PHP FCGI processes
5. fastcgi-pass to PHP

Cliff


> 
> 
> On Thu, Apr 2, 2009 at 5:28 PM, uros678 <nginx-forum at nginx.us> wrote:
>         Hello,
>         
>         I'm new to this forum and nginx, so please go easy on me. I
>         have a question about setting up a server for phpmyadmin. I'm
>         using debian lenny. Oh, and did I mention that I don't have "a
>         lot" of web experience at all... :)
>         
>         I installed the phpmyadmin package from the debian repository
>         and now I'm trying to setup the nginx site so that I could
>         access the myphpadmin install like this
>         http://myserver/phpmyadmin. I got to the point where phpinfo()
>         is working if I type http://myserver/test.php. I tried to
>         configure the config files to my best knowledge and with
>         looking at config files on the wiki, but coudn't get it to
>         work...
>         
>         I don't understand if I must create a new virtual server for
>         the myphpadmin install or can I somehow tell the main server
>         or the default page that /phpmyadmin is located
>         in /usr/share/phpmyadmin. I tried some config examples that I
>         found on the net, but coudn't get it to work.
>         
>         Is there a documentation file that explains all the nginx.conf
>         parameters? Or have I missed it somewhere?
>         
>         Thanks and best regards,
>         Uros
>         
>         Posted at Nginx Forum:
>         http://forum.nginx.org/read.php?2,753,753#msg-753
>         
>         
> 
> 
> 
> -- 
> Please excuse my bad english...
> 
> С уважение,
> Й. Георгиев.
> 
> WEB: http://gigavolt-bg.net/
> Blog:  http://live.gigavolt-bg.net/






More information about the nginx mailing list