Jump to content

Konfiguracja Lamppa/Xamppa


Nifir
 Share

Recommended Posts

Hej, wczoraj dużo szukałem na ten temat, ale nie znalazłem za wiele, kilka tematów częściowo dotyczyły mojego problemu, ale z racji, że mi nie pomogły, to nie chcę już w nich więcej śmiecić.

 

Krótko:

Mam F14, lampp/xampp 1.7.4 i bardzo bym chciał mieć możliwość wchodzenia do phpmyadmin z sieci. Obecnie próbowałem już kilku sposobów np. edycji /etc/httpd/conf.d/phpMyAdmin.conf (polecone z http://forum.fedora.pl/index.php?/topic/18253-odpowiednik-krasnala/page__st__40), ale niestety się nie sprawdziło. Na stronie xampp'a podają, że phpmyadmin powinien być edytowany w pliku /opt/lampp/phpmyadmin/config.inc.php

<?php
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! */

/*
* Servers configuration
*/
$i = 0;

/*
* First server
*/
$i++;

/* Authentication type and info */
# commented out by lampp security
#$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
# commented out by lampp security
#$cfg['Servers'][$i]['controlpass'] = '';
$cfg['Servers'][$i]['controlpass'] = 'xxxx';

/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
/*
* End of servers configuration
*/

?>

Tak wygląda kod w moim pliku, ktoś poradzi co zmienić?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...