Hey guys, Im new to the whole PHP thing...
Anyways, I j ust installed My-SQL about 10 minutes ago...that seems to be fine...Now, Im setting up my php-my-admin....and this is whats getting me... In "config.inc.php" It says alter this:
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/';
Now, Im curious, what excatly do I type here...I just put in that last bit
"http://localhost/phpmyadmin/ "
Thanks guy!
Newbie Programmer (ME) Problems with PHPMyAdmin
Moderator: General Moderators
-
ilovetoast
- Forum Contributor
- Posts: 142
- Joined: Thu Jan 15, 2004 7:34 pm
What do you type into a browser to hit your server?
For example, I run Apache on my laptop with MySQL and phpMyAdmin. I access my server via the loopback address:
http://127.0.0.1/
That gives the index page of my server's root directory. I put phpMyAdmin into a folder called phpMyAdmin at the root level, so its web address is:
http://127.0.0.1/phpMyAdmin
And so, finally, that is the PmaAbsoluteUri for my server and the line in my config.inc.php file is:
$cfg['PmaAbsoluteUri'] = 'http://127.0.0.1/phpMyAdmin';
Just replace my info with the stuff for your server and it should work fine.
peace
For example, I run Apache on my laptop with MySQL and phpMyAdmin. I access my server via the loopback address:
http://127.0.0.1/
That gives the index page of my server's root directory. I put phpMyAdmin into a folder called phpMyAdmin at the root level, so its web address is:
http://127.0.0.1/phpMyAdmin
And so, finally, that is the PmaAbsoluteUri for my server and the line in my config.inc.php file is:
$cfg['PmaAbsoluteUri'] = 'http://127.0.0.1/phpMyAdmin';
Just replace my info with the stuff for your server and it should work fine.
peace
Re:
So I type in the address http://127.0.0.1/
And it takes me to the PHPMYAdmin Directory, so I type in
http://127.0.0.1/phpmyadmin/INSTALL/
It just displays this on the screen
$Id: INSTALL,v 2.0 2003/11/18 15:20:36 nijel Exp $
phpMyAdmin - Installation
-------------------------
Please have a look to the Documentation.txt or
Documentation.html files.
But I did fix my config.inc.php
To read: http://127.0.0.1/phpmyadmin/
So thats fixed....But its still not displaying
And it takes me to the PHPMYAdmin Directory, so I type in
http://127.0.0.1/phpmyadmin/INSTALL/
It just displays this on the screen
$Id: INSTALL,v 2.0 2003/11/18 15:20:36 nijel Exp $
phpMyAdmin - Installation
-------------------------
Please have a look to the Documentation.txt or
Documentation.html files.
But I did fix my config.inc.php
To read: http://127.0.0.1/phpmyadmin/
So thats fixed....But its still not displaying
-
ilovetoast
- Forum Contributor
- Posts: 142
- Joined: Thu Jan 15, 2004 7:34 pm
Remove the trailing slash. I don't know if that matters, but I don't want to alter my config file to find out. 
BTW, 127.0.0.1 takes you to the phpMyAdmin directory? You don't have it inside 127.0.0.1/phpMyAdmin? That http://127.0.0.1/phpmyadmin/INSTALL/ prints what it does indicates to me that your phpMyAdmin is at 127.0.0.1/phpMyAdmin
If you set that config line...
and you type:
127.0.0.1/phpMyAdmin/
into your browser and you don't get phpMyAdmin, something else in its config or in MySQL is amiss.
peace
BTW, 127.0.0.1 takes you to the phpMyAdmin directory? You don't have it inside 127.0.0.1/phpMyAdmin? That http://127.0.0.1/phpmyadmin/INSTALL/ prints what it does indicates to me that your phpMyAdmin is at 127.0.0.1/phpMyAdmin
If you set that config line...
and you type:
127.0.0.1/phpMyAdmin/
into your browser and you don't get phpMyAdmin, something else in its config or in MySQL is amiss.
peace
Re:
My Apache is extracted onto
C:\Program Files\Apache\
Now I altered my
$cfg['PmaAbsoluteUri'] = 'http://127.0.0.1/phpmyadmin/INSTALL/';
Still it gives me the same text in my previous post.... :s no idea why
To what you see there.... Still nothing :s
if you want to contact me via Yahoo: digiovannijeff
MSN: JMDDiGiovanni@msn.com
AIM: jeffw0722
Alls Im trying to figure out is: what to put here:
$cfg['PmaAbsoluteUri'] = ' '
^^^^^^^^^^ Do I leave this like it is with the brackets? This is weird
thanks
C:\Program Files\Apache\
Now I altered my
$cfg['PmaAbsoluteUri'] = 'http://127.0.0.1/phpmyadmin/INSTALL/';
Still it gives me the same text in my previous post.... :s no idea why
To what you see there.... Still nothing :s
MSN: JMDDiGiovanni@msn.com
AIM: jeffw0722
Alls Im trying to figure out is: what to put here:
$cfg['PmaAbsoluteUri'] = ' '
^^^^^^^^^^ Do I leave this like it is with the brackets? This is weird
thanks
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
All that PmaAbsoluteUri is the the path that you type into your browser to go to the root of the phpmyadmin directory. The install directory is not the root, so http://127.0.0.1/phpmyadmin/ is more likely to be it than http://127.0.0.1/phpmyadmin/INSTALL. Where did you install phpMyAdmin? Do you get anything when you type http://127.0.0.1/phpmyadmin/index.php into your browser?
You have to keep the $cfg['PmaAbsoluteUri'] as is otherwise you'll cause PHP parse errors and phpMyAdmin won't be able to work at all.
Mac
You have to keep the $cfg['PmaAbsoluteUri'] as is otherwise you'll cause PHP parse errors and phpMyAdmin won't be able to work at all.
Mac