pkgin install php80-phpmyadmin-4.9.7 cd /usr/pkg/share/httpd/htdocs/ ln -s /usr/pkg/share/phpmyadmin/ phpmyadmin vim /usr/pkg/etc/httpd/httpd.conf <IfModule mod_alias.c> Alias /phpmyadmin/ "/usr/pkg/share/phpmyadmin/" </IfModule> <Directory "/usr/pkg/share/phpmyadmin"> Options Indexes AllowOverride None <IfModule !mod_authz_core.c> Order allow,deny Allow from all </IfModule> <IfModule mod_authz_core.c> Require all granted </IfModule> </Directory> # # For security, don't serve pages from the phpmyadmin setup directories. # # NOTE: If you are setting up phpmyadmin for the first time you will need # to comment this block out the first time you access your phpmyadmin # installation. # <Directory "/usr/pkg/share/phpmyadmin/setup"> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> <IfModule mod_authz_core.c> Require all denied </IfModule> </Directory> /etc/rc.d/apache restart
Deprecation Notice in ./libraries/classes/Di/ReflectorItem.php#82 Method ReflectionParameter::getClass() is deprecated Backtrace ./libraries/classes/Di/ReflectorItem.php#50: PhpMyAdmin\Di\ReflectorItem->_resolveArgs( array, array, ) ./libraries/classes/Di/FactoryItem.php#27: PhpMyAdmin\Di\ReflectorItem->invoke(array) ./libraries/classes/Di/Container.php#62: PhpMyAdmin\Di\FactoryItem->get(array) ./libraries/classes/Di/AliasItem.php#44: PhpMyAdmin\Di\Container->get( string 'PhpMyAdmin\\Controllers\\Server\\ServerDatabasesController', array, ) ./libraries/classes/Di/Container.php#62: PhpMyAdmin\Di\AliasItem->get(array) ./server_databases.php#28: PhpMyAdmin\Di\Container->get( string 'ServerDatabasesController', array, ) Deprecation Notice in ./vendor/twig/twig/src/Node/IncludeNode.php#25 Required parameter $lineno follows optional parameter $only Backtrace ./vendor/composer/ClassLoader.php#444: include() ./vendor/composer/ClassLoader.php#322: Composer\Autoload\includeFile(string '/usr/pkg/share/phpmyadmin/vendor/composer/../twig/twig/src/Node/IncludeNode.php') ./vendor/twig/twig/src/TokenParser/IncludeTokenParser.php#33: Composer\Autoload\ClassLoader->loadClass(string 'Twig\\Node\\IncludeNode') ./vendor/twig/twig/src/Parser.php#209: Twig\TokenParser\IncludeTokenParser->parse() ./vendor/twig/twig/src/Parser.php#122: Twig\Parser->subparse( NULL, boolean false, ) ./vendor/twig/twig/src/Environment.php#735: Twig\Parser->parse() ./vendor/twig/twig/src/Environment.php#793: Twig\Environment->parse() ./vendor/twig/twig/src/Environment.php#482: Twig\Environment->compileSource() ./vendor/twig/twig/src/Environment.php#445: Twig\Environment->loadClass( string '__TwigTemplate_d8fe4288145ee2c69f39fc69ea2774ed1a3b88067bb88e10650fc863e24e9614', string 'server/databases/databases_header.twig', NULL, ) ./vendor/twig/twig/src/Environment.php#423: Twig\Environment->loadTemplate(string 'server/databases/databases_header.twig') ./libraries/classes/Template.php#115: Twig\Environment->load(string 'server/databases/databases_header.twig') ./libraries/classes/Controllers/Server/ServerDatabasesController.php#302: PhpMyAdmin\Template->render(array) ./libraries/classes/Controllers/Server/ServerDatabasesController.php#106: PhpMyAdmin\Controllers\Server\ServerDatabasesController->_getHtmlForDatabases(array) ./server_databases.php#30: PhpMyAdmin\Controllers\Server\ServerDatabasesController->indexAction()
Le fichier de configuration nécessite maintenant une phrase de passe secrète (blowfish_secret).