Ubuntu 18.04 phpMyAdmin Script

3 posts / 0 new
Last post
#1 Tue, 08/14/2018 - 20:48
Nathe
Nathe's picture

Ubuntu 18.04 phpMyAdmin Script

Found https://files.phpmyadmin.net:443/phpMyAdmin/4.8.2/phpMyAdmin-4.8.2-engli... in cache ..

PHP module mcrypt is recommended ..

Installing package php72-mcrypt ..
Installing package(s) with command apt-get -y -f install php72-mcrypt ..

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package php72-mcrypt

.. install failed!

Installing package php-mcrypt ..
Installing package(s) with command apt-get -y -f install php-mcrypt ..

Reading package lists...
Building dependency tree...
Reading state information...
Package php-mcrypt is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php-mcrypt' has no installation candidate

.. install failed!

Installing package php7.2-mcrypt ..
Installing package(s) with command apt-get -y -f install php7.2-mcrypt ..

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package php7.2-mcrypt
E: Couldn't find any package by glob 'php7.2-mcrypt'
E: Couldn't find any package by regex 'php7.2-mcrypt'

.. install failed!

.. failed to install!

Configuring webserver PHP settings .. .. already done.

Now installing phpMyAdmin version 4.8.2 ..

phpMyAdmin installation complete. It can be accessed at http://yourdomain.com/phpmyadmin/.

More information on using this script can be found at http://www.phpmyadmin.net/.

The initial administration login is yourdomain.com with the password blahblahblah .

.. done

Wed, 08/15/2018 - 07:42
adamjedgar

You are fortunate to even have virtualmin working on Ubuntu 18.04 (if you are getting as far as phpmyadmin)

I can t get the install to complete... the software really isn't right for 18.04 yet I guess.

Works fine on 16.04 of course.

I don't run mcrypt...as far as I know it isn't needed and was redacted some time back. Not sure if that's still the case but needless to say, it continues to show up in my updates and if I forget to uncheck it in the update list it stuffs the update process every time.

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Mon, 08/20/2018 - 18:22
thathwamasi

Hello Nathe,

Ubuntu 18.04 comes with default PHP 7.2 version. On php 7.2 mcrypt extension has been depreciated.

There are two solution , 1) Install PHP 7.1 as additional php and then choose that version as default version for virtual server and deploy phpmyadmin. 2) Please user this at your own risk, https://github.com/onelogin/php-saml/issues/278

Topic locked