Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #211605 > unrolled thread

I Can't use adminer

Started byBapi Dey <bapidey678@gmail.com>
First post2019-07-21 12:10 +0200
Last post2019-08-03 12:10 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  I Can't use adminer Bapi Dey <bapidey678@gmail.com> - 2019-07-21 12:10 +0200
    Re: I Can't use adminer Alexandre Rossi <niol@zincube.net> - 2019-07-21 17:40 +0200
      Re: I Can't use adminer bapidey678@gmail.com - 2019-07-26 09:40 +0200
        Re: I Can't use adminer Alexandre Rossi <niol@zincube.net> - 2019-08-03 12:10 +0200

#211605 — I Can't use adminer

FromBapi Dey <bapidey678@gmail.com>
Date2019-07-21 12:10 +0200
SubjectI Can't use adminer
Message-ID<ymgWZ-LH-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

I want to use adminer for php operations. I installed it via apt install
adminer.
But I am not able to open it on localhost. Can anyone help me?

[toc] | [next] | [standalone]


#211610

FromAlexandre Rossi <niol@zincube.net>
Date2019-07-21 17:40 +0200
Message-ID<ymm6m-3On-11@gated-at.bofh.it>
In reply to#211605
Hi,

> I want to use adminer for php operations. I installed it via apt install
> adminer.
> But I am not able to open it on localhost. Can anyone help me?

You must also install and setup a php-enabled web server for it to work.

The simplest way to get it running is:
$ cd /usr/share/adminer
$ php -S localhost:8000

and you'll find adminer at http://localhost:8000/adminer/

(There are many other ways to run a php app)

Alex

[toc] | [prev] | [next] | [standalone]


#211744

Frombapidey678@gmail.com
Date2019-07-26 09:40 +0200
Message-ID<yo2Zz-1Ul-3@gated-at.bofh.it>
In reply to#211610

[Multipart message — attachments visible in raw view] — view raw

On Sun, 2019-07-21 at 17:37 +0200, Alexandre Rossi wrote:
> Hi,
> 
> > I want to use adminer for php operations. I installed it via apt
> > install
> > adminer.
> > But I am not able to open it on localhost. Can anyone help me?
> 
> You must also install and setup a php-enabled web server for it to
> work.
> 
> The simplest way to get it running is:
> $ cd /usr/share/adminer
> $ php -S localhost:8000
> 
> and you'll find adminer at http://localhost:8000/adminer/
> 
> (There are many other ways to run a php app)
> 
> Alex

Thanks. I make a file in /etc/apache2/conf-available/adminer.conf  And
place
	Alias /adminer.php /usr/share/adminer/adminer/index.phpthis. Is
it allright?

[toc] | [prev] | [next] | [standalone]


#212174

FromAlexandre Rossi <niol@zincube.net>
Date2019-08-03 12:10 +0200
Message-ID<yqZ97-Ca-1@gated-at.bofh.it>
In reply to#211744
> > You must also install and setup a php-enabled web server for it to
> > work.
> > 
> > The simplest way to get it running is:
> > $ cd /usr/share/adminer
> > $ php -S localhost:8000
> > 
> > and you'll find adminer at http://localhost:8000/adminer/
> > 
> > (There are many other ways to run a php app)
> > 
> > Alex
> 
> Thanks. I make a file in /etc/apache2/conf-available/adminer.conf  And
> place
> 	Alias /adminer.php /usr/share/adminer/adminer/index.phpthis. Is
> it allright?

You must also enable some php runtime to process the scripts. In your case,
maybe libapache2-mod-php is the simplest. There are numerous tutorials about
how to do this.

Feel free to get back here if you get stuck somewhere in the process.

Alex

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web