473,583 Members | 2,878 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6439
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**********@y ahoo.com> wrote in message
news:hv******** ************@ni ldram.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*******@scsw ise.co.uk> wrote in message
news:cd******** **@sparta.btint ernet.com...
"Andy Barfield" <ab**********@y ahoo.com> wrote in message
news:hv******** ************@ni ldram.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**********@y ahoo.com> wrote in message
news:Ut******** ************@ni ldram.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**********@y ahoo.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($_SERVE R['HTTPS']) ? 'https' :
'http') . '://' . $_SERVER['HTTP_HOST'] .
(!empty($_SERVE R['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
3023
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 database works fine - I get a mydatabase.sql file. Restoring (using phpMyAdmin) usually work fine. However, if any of the data in any of the fields contains the '#' character, it bombs out citing a...
0
1493
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 configured as "Gnarlodious-TiBook" (machinename). So far so good, all works OK. I have a Cube running 4.0.20 and phpMyAdmin 2.5.5-pl1 where MySQL hostname is configured as "Gnarlodious-Cube"...
3
2162
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 load http://home/phpmyadmin which loads index.php, I get the following (lengthy) warning...
0
3463
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 table to a text file, tab-delimited, text qualifyer of "none" (this is how I read to do it from newsgroups). When I use the Query window in phpmyadmin to import the text file, it waits a while,...
5
3040
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 phpMyAdmin on my server: localhost: PHP 4.3.11, MySQL 4.1.12, phpMyAdmin 2.8.1 server: PHP 4.3.11, MySQL 4.1.12, phpMyAdmin 2.6.3-pl1 SELECT AES_DECRYPT(pass, 'asdf') FROM `test`
2
6790
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 any browser I am able to enter and store Russian characters in the DB; I cal also call the data back to display them in the phpMyAdmin. When I try to do the same from my own page, only some...
3
471
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, but I can't open phpMyAdmin. I have made an alias in httpd.conf: Alias /phpMyAdmin/ "C:/Program/Apache2/htdocs/phpMyAdmin/" <Directory "C:/Program/Apache2/htdocs/phpMyAdmin"> Options Indexes...
8
8870
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 following message: Fatal error: session_start() : Failed to initialize storage module: user (path: C:\...\Temp\php\session) in D\...\phpMyAdmin\libraries\session.inc.php on line 86 I set up the...
2
1904
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 I get a 500 internal error. I checked the files from phpMyAdmin-3.1.3.2-english that I unziped on my desktop and compared each one to the ftp phpmyadmin directory files on the server so all files are...
0
7811
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8159
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8314
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7922
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8185
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6571
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5689
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
1147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.