VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: phpMyAdmin  (Read 643 times)

StrayBit

  • Vectorian
  • ****
  • Posts: 542
phpMyAdmin
« on: August 17, 2017, 07:43:26 am »

Can any one help me with this.  I haven't found it in Vector and the on-line pre-made ones are debian, ubantu and fedora.  I downloaded the package but the destuctions (er instructions) are greek to me.  They tell of using composer which has a .jasn extension.  I've never touched jason.  I have used gcc a few times.
Logged
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0

retired1af

  • Administrator
  • Vectorian
  • *****
  • Posts: 1467
Re: phpMyAdmin
« Reply #1 on: August 17, 2017, 09:33:30 am »

Looks fairly straight forward.

Install the Composer using the instructions here: https://getcomposer.org/doc/00-intro.md

Then, install phpMyAdmin using the instructions located here: https://docs.phpmyadmin.net/en/latest/setup.html

You'll need to ensure Git is installed first.
Logged
ASUS K73 Intel i3 Dual Core 2.3GHz

StrayBit

  • Vectorian
  • ****
  • Posts: 542
Re: phpMyAdmin
« Reply #2 on: August 19, 2017, 08:01:04 am »

Finally got composer working.  php does complain
Quote
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - /usr/lib/php/extensions/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
mysql.so is not present nor was it in b2.
Logged
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0

StrayBit

  • Vectorian
  • ****
  • Posts: 542
Re: phpMyAdmin
« Reply #3 on: August 19, 2017, 08:42:21 am »

This definately is not what I was expecting!  In my browser
Quote
http://localhost/phpMyAdmin/phpmyadmin.css.php
Quote
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Main stylesheet loader
 *
 * @package PhpMyAdmin
 */
use PMA\libraries\OutputBuffering;
use PMA\libraries\ThemeManager;

/**
 *
 */

define('PMA_MINIMUM_COMMON', true);
require_once 'libraries/common.inc.php';


$buffer = OutputBuffering::getInstance();
$buffer->start();
register_shutdown_function(
    function () {
        echo OutputBuffering::getInstance()->getContents();
    }
);

// Send correct type:
header('Content-Type: text/css; charset=UTF-8');

// Cache output in client - the nocache query parameter makes sure that this
// file is reloaded when config changes
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 3600) . ' GMT');

ThemeManager::getInstance()->printCss();
Logged
7.2 STD B2 built on Feb-01-2017
HP 670 Win7 & VL7.0

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2383
Re: phpMyAdmin
« Reply #4 on: August 22, 2017, 10:51:05 pm »

Looks like PHP needs to be recompiled with MySQL support.
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!