472,334 Members | 2,588 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,334 software developers and data experts.

PHPMyAdmin

SCS
Running PHP 4.5.7
PHPMyAdmin 2.5.7-pl1
IIS 6

I am thrying to get phpmyadmin to work, but whenever I click a link or try
to browse a database I get a 404 error, because the PmaAbsoluteUri
auto-detection is nor working properly.
Im pretty sure it is a problem with my php.ini file, but Im not sure where
to look... can someone please help

Many Thanks
Jul 17 '05 #1
7 6303
SCS wrote:
I am thrying to get phpmyadmin to work, but whenever I click a link or try
to browse a database I get a 404 error, because the PmaAbsoluteUri
auto-detection is nor working properly.
Im pretty sure it is a problem with my php.ini file, but Im not sure where
to look... can someone please help


Try the phpMyAdmin configuration file - it's called config.inc.php and
is in the root directory of your phpMyadmin installation.

It should look something like
$cfg['PmaAbsoluteUri'] = 'http://<server name>/phpmyadmin';

Or whatever the path to your installation is *through* the server.

HTH, Regards,

Andy

Jul 17 '05 #2
SCS
I have looked at that yeah, but I want to be able to run PHPMyAdmin from
within my Network (e.g http://localhost) and also from the internet
(http://www.mydomain.co.uk) any ideas on that one.. also the Auto thingy
should work..

Thanks Again

"Andy Barfield" <ab**********@yahoo.com> wrote in message
news:hv********************@nildram.net...
SCS wrote:
I am thrying to get phpmyadmin to work, but whenever I click a link or try to browse a database I get a 404 error, because the PmaAbsoluteUri
auto-detection is nor working properly.
Im pretty sure it is a problem with my php.ini file, but Im not sure where to look... can someone please help


Try the phpMyAdmin configuration file - it's called config.inc.php and
is in the root directory of your phpMyadmin installation.

It should look something like
$cfg['PmaAbsoluteUri'] = 'http://<server name>/phpmyadmin';

Or whatever the path to your installation is *through* the server.

HTH, Regards,

Andy

Jul 17 '05 #3
SCS wrote:
I have looked at that yeah, but I want to be able to run PHPMyAdmin from
within my Network (e.g http://localhost) and also from the internet
(http://www.mydomain.co.uk) any ideas on that one.. also the Auto thingy
should work..


Hmmmmm - interesting - seems to work fing on a LAMP setup I'm running
here. A brief glance at the docs suggests that you can set it
dynamically, though I'm not sure it would help, it may be worth a try.

http://www.phpmyadmin.net/documentation/#config for details.

Regards,

Andy
Jul 17 '05 #4

"SCS" <en*******@scswise.co.uk> wrote in message
news:cd**********@sparta.btinternet.com...
"Andy Barfield" <ab**********@yahoo.com> wrote in message
news:hv********************@nildram.net...
SCS wrote:
I am thrying to get phpmyadmin to work, but whenever I click a link or try to browse a database I get a 404 error, because the PmaAbsoluteUri
auto-detection is nor working properly.
Im pretty sure it is a problem with my php.ini file, but Im not sure where to look... can someone please help


Try the phpMyAdmin configuration file - it's called config.inc.php and
is in the root directory of your phpMyadmin installation.

It should look something like
$cfg['PmaAbsoluteUri'] = 'http://<server name>/phpmyadmin';

Or whatever the path to your installation is *through* the server.

HTH, Regards,

Andy

I have looked at that yeah, but I want to be able to run PHPMyAdmin from
within my Network (e.g http://localhost) and also from the internet
(http://www.mydomain.co.uk) any ideas on that one.. also the Auto thingy
should work..


Since the instance of phpMyAdmin will only run on the one server, what
difference to you expect to see when accessing it from intranet versus
internet? The path in question is the path that the server on which
phpMyAdmin is running must use to access the database. Little to do with who
happens to be accessing phpMyAdmin or how.

- Virgil
Jul 17 '05 #5
Virgil Green wrote:
Since the instance of phpMyAdmin will only run on the one server, what
difference to you expect to see when accessing it from intranet versus
internet? The path in question is the path that the server on which
phpMyAdmin is running must use to access the database. Little to do with who
happens to be accessing phpMyAdmin or how.


Not in this case, PmaAbsoluteUri is the base of the phpMyadmin
installation while the parameter in $cfg['Servers'][$i]['host'] is the
host of the MySql Server
Jul 17 '05 #6
"Andy Barfield" <ab**********@yahoo.com> wrote in message
news:Ut********************@nildram.net...
Virgil Green wrote:
> Since the instance of phpMyAdmin will only run on the one server, what
difference to you expect to see when accessing it from intranet versus
internet? The path in question is the path that the server on which
phpMyAdmin is running must use to access the database. Little to do with who happens to be accessing phpMyAdmin or how.


Not in this case, PmaAbsoluteUri is the base of the phpMyadmin
installation while the parameter in $cfg['Servers'][$i]['host'] is the
host of the MySql Server


Yep, my error on the particulars. However the premise stands. The URL is to
the phpMyAdmin installation so it is still a single value no matter the
manner in which it is accessed.

- Virgil
Jul 17 '05 #7
On Tue, 20 Jul 2004 08:55:30 +0100, Andy Barfield
<ab**********@yahoo.com> wrote:
SCS wrote:
I am thrying to get phpmyadmin to work, but whenever I click a link or try
to browse a database I get a 404 error, because the PmaAbsoluteUri
auto-detection is nor working properly.
Im pretty sure it is a problem with my php.ini file, but Im not sure where
to look... can someone please help


Try the phpMyAdmin configuration file - it's called config.inc.php and
is in the root directory of your phpMyadmin installation.

It should look something like
$cfg['PmaAbsoluteUri'] = 'http://<server name>/phpmyadmin';

Or whatever the path to your installation is *through* the server.

HTH, Regards,

Andy


Try this (All on one line of course):

$cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' :
'http') . '://' . $_SERVER['HTTP_HOST'] .
(!empty($_SERVER['SERVER_PORT']) ? ':' . $_SERVER['SERVER_PORT'] : '')
.. substr($_SERVER['PHP_SELF'], 0, strpos($_SERVER['PHP_SELF'],
'/')+1);

I run phpMyAdmin on three different domains, and it works flawlessly
for me. And note, in the above code, I only used single-quotes; no
double-quotes at all.
Jul 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: mojo jojo | last post by:
This may really be a phpMyAdmin problem, I think - but keen to hear your thoughts. Any help appreciated. Using phpMyAdmin to export an entire...
0
by: Gnarlodious | last post by:
This is some odd behavior, I'm hoping someone can explain. I have a TiBook running 4.0.17 and phpMyAdmin 2.5.5-pl1 where MySQL hostname is...
3
by: cofused | last post by:
Hi, I have set up the Xitami server (2.5c2) and PHP (5.0.5) on my Win98 system without any problem. I am trying to add PhpMyAdmin. When I try to...
0
by: NewbieSupreme | last post by:
I'm using PHPMyAdmin on an Apache2Triad install (latest version; 5.x.x, which installs PHP5 and PHPMyAdmin 2.8 as well). In Access, I exported a...
5
by: Marcus | last post by:
Hello, I am having a problem with a query in phpMyAdmin... it works fine on my localhost, but the exact same query produces an error in...
2
by: Victor | last post by:
Could anybody kindly point me to a clue in the following enigma : I have phpMyAdmin - 2.8.2.4 and MySQL - 4.1.13-nt. In the phpMyAdmin opened in...
3
by: Susanne | last post by:
I have a server with my own domain and have created some users under htdocs/users/. I have installed phpMyAdmin under htdocs/. Everything works,...
8
by: Jonathan Sachs | last post by:
I just tried to install phpMyAdmin on my system, and I can't get it to work. When I tried to run the setup procedure (setup.php) I got the...
2
by: seanh | last post by:
Hi all, I need some advice regarding phpmyadmin, I installed phpmyadmin directory in the htdocs but when I go to my http://mysite.com/phpmyadmin...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.