Apache 2.4+php5.x+mysq5.xl環境搭建(四),php5.xmysq5.xl

來源:互聯網
上載者:User

Apache 2.4+php5.x+mysq5.xl環境搭建(四),php5.xmysq5.xl
phpmyadmin的安裝


下載

官方:http://www.phpmyadmin.net/home_page/downloads.php


下載時注意phpmyadmin支援的mysql版本。


安裝

因為mysql版本是5.0,這裡採用phpmyadmin【phpMyAdmin 4.0.10.7】多語言版,解壓到Apache的web目錄。(這裡是C:\WEB\Apache24\htdocs)。


設定phpmyadmin的設定檔config.inc.php(位置在C:\WEB\Apache24\htdocs\phpMyAdmin)

<span style="font-family:SimSun;"><?php/* * This is needed for cookie based authentication to encrypt password in * cookie */$cfg['blowfish_secret'] = ''; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE COOKIE AUTH! *//* * Servers configuration */$i = 0;/* * First server */$i++;/* Authentication type and info */$cfg['Servers'][$i]['auth_type']     = 'http';      // Authentication method (config, http or cookie based)$cfg['Servers'][$i]['user'] = 'root';$cfg['Servers'][$i]['password'] = 'root';$cfg['Servers'][$i]['extension'] = 'mysqli';$cfg['Lang'] = '';/* Bind to the localhost ipv4 address and tcp */$cfg['Servers'][$i]['host'] = '127.0.0.1';$cfg['Servers'][$i]['connect_type'] = 'tcp';/* User for advanced features */$cfg['Servers'][$i]['controluser'] = 'pma';$cfg['Servers'][$i]['controlpass'] = '';/* 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';$cfg['Servers'][$i]['tracking'] = 'pma_tracking';$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';$cfg['Servers'][$i]['recent'] = 'pma_recent';$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';/* * End of servers configuration */?></span>

測試phpmyadmin安裝成功

瀏覽器地址欄中輸入localhost/phpmyadmin,彈出使用者登陸框,輸入使用者密碼,登入phpmyadmin中,phpmyadmin安裝成功!


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.