phpMyAdmin-2.9.1-all-languages 整合到Apache,PHP中

前面一篇已经配好了Apache+PHP+MySQL。

虽然我现在用的是MySQL   Control  Center管理数据库,但是不用下phpMyAdmin貌似对不住配好的Apache+PHP,于是下载个试试。开始配置phpMyAdmin时在Google,Baidu上查了不少资料,始终不行,偶然发现phpMyAdmin文件夹里面有个Documentation.html,打开看看,结果配好了。下面是这个文档内主要的几个步骤:

Quick Install

  1. Untar or unzip the distribution (be sure to unzip the subdirectories): tar -xzvf phpMyAdmin_x.x.x.tar.gz in your webserver's document root. If you don't have direct access to your document root, put the files in a directory on your local machine, and, after step 3, transfer the directory on your web server using, for example, ftp.
  2. Ensure that all the scripts have the appropriate owner (if PHP is running in safe mode, having some scripts with an owner different from the owner of other scripts will be a problem). See FAQFAQ 4.2 and FAQFAQ 1.26 for suggestions.
  3. Now you must configure your installation. There are two methods that can be used. Traditionally, users have hand-edited a copy of config.inc.php, but now a wizard-style setup script is provided for those who prefer a graphical installation. Creating a config.inc.php is still a quick way to get started and needed for some advanced features.
    • To manually create the file, simply use your text editor to create the file config.inc.php (you can copy config.sample.inc.php to get minimal configuration file) in the main (top-level) phpMyAdmin directory (the one that contains index.php). phpMyAdmin first loads libraries/config.default.php and then overrides those values with anything found in config.inc.php. If the default value is okay for a particular setting, there is no need to include it in config.inc.php. You'll need a few directives to get going, a simple configuration may look like this:
      <?php
      $cfg['blowfish_secret'] = 'ba17c1ec07d65003';  // use here a value of your choice
      
      $i=0;
      $i++;
      $cfg['Servers'][$i]['auth_type']     = 'cookie';
      ?>
      
      Or, if you prefer to not be prompted every time you log in:
      <?php
      
      $i=0;
      $i++;
      $cfg['Servers'][$i]['user']          = 'root';
      $cfg['Servers'][$i]['password']      = 'cbb74bc'; // use here your password
      ?>
      
      For a full explanation of possible configuration values, see the Configuration Section of this document.

仔细看看这个英文文档,其实还是挺简单的,呵呵

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值