Jump to content

config.inc.php questions. regaurding setup of phpmyadmin


Recommended Posts

I am trying to set up phpmyadmin on my server. I am using a linux box (ubuntu-server 7.10 w/ a LAMP server running)  It appears to me that the home directory of my server is /var/www

 

so I copied the extracted phpmyadmin files into a folder with in the /var/www directory.

 

so no I have /var/www/phpmyadmin/

 

I am having trouble understanding exactly what to put in this config.inc.php file here is what i've done so far:

 

<?php

$i=0;
$i++;
$cfg['Servers'][$i]['user']          = 'catuser';
$cfg['Servers'][$i]['password']      = 'admin'; // use here your password
?>

 

I did not know exactly what to do here... as you can see I just put my info after the equal signs. The documentation included didn't explain it enough for a linux noob such as myself so I guessed.

 

This is the result I get when I try to load the phpmyadmin program (by opening the index file on the server of course):

 

 

Warning: require_once(./libraries/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/phpmyadmin/index.php on line 34

Fatal error: require_once() [function.require]: Failed opening required './libraries/common.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/phpmyadmin/index.php on line 34

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.