Jumat, 28 Oktober 2016

wamp error password

Update Blowfish Secret In PHPMyAdmin Configuration File: Line 16
php

  1. /* vim: set expandtab sw=4 ts=4 sts=4: */
  2. /**
  3. * phpMyAdmin sample configuration, you can use it as base for
  4. * manual configuration. For easier setup you can use scripts/setup.php
  5. *
  6. * All directives are explained in Documentation.html and on phpMyAdmin
  7. * wiki .
  8. *
  9. * @version $Id: config.sample.inc.php 10142 2007-03-20 10:32:13Z cybot_tm $
  10. */
  11.  
  12. /*
  13. * This is needed for cookie based authentication to encrypt password in
  14. * cookie
  15. */
  16. $cfg['blowfish_secret'] = 'BLOWFISH PASSWORD HERE'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
  17.  
  18. /*
  19. * Servers configuration
  20. */
  21. $i = 0;
  22.  
  23. /*
  24. * First server
  25. */
  26. $i++;
  27. /* Authentication type */
  28. $cfg['Servers'][$i]['auth_type'] = 'cookie';
  29. /* Server parameters */
  30. $cfg['Servers'][$i]['host'] = 'localhost';
  31. $cfg['Servers'][$i]['connect_type'] = 'tcp';
  32. $cfg['Servers'][$i]['compress'] = false;
  33. /* Select mysqli if your server has it */
  34. $cfg['Servers'][$i]['extension'] = 'mysql';
  35. /* User for advanced features */
  36. // $cfg['Servers'][$i]['controluser'] = 'pma';
  37. // $cfg['Servers'][$i]['controlpass'] = 'pmapass';
  38. /* Advanced phpMyAdmin features */
  39. // $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
  40. // $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
  41. // $cfg['Servers'][$i]['relation'] = 'pma_relation';
  42. // $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
  43. // $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
  44. // $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
  45. // $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
  46. // $cfg['Servers'][$i]['history'] = 'pma_history';
  47. // $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
  48.  
  49. /*
  50. * End of servers configuration
  51. */
  52.  
  53. /*
  54. * Directories for saving/loading files from server
  55. */
  56. $cfg['UploadDir'] = '';
  57. $cfg['SaveDir'] = '';
  58.  
  59. ?>
After you do this visit your-url/phpadmin-directory where if you don’t have mcrypt and mbstrong installed you will see two more errors. There are easy to resolve by following the directions below.
ERROR: Cannot load mcrypt extension. Please check your PHP configuration.

Tidak ada komentar:

Posting Komentar