RE: [PHP-WIN] Re: problems with phpmyadmin
| From: | toby z | Date: | Wed, 11 Jun 2003 04:45:31 +0000 |
| Subject: | RE: [PHP-WIN] Re: problems with phpmyadmin | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20270@lists.php.net to get a copy of this message | ||
hay
try fixing ur config file for phpmyadmin
i hope u know u get to fix it like u must have fixed ini and httpd
files, the file being config.inc.php ofcourse
anywayz
1. $cfgPmaAbsoluteUri = 'http://localhost/myadmin/';
locate and set to ur host and myadmin settings
2. u have to add ur host,user,password and db to b used in the file
locate and fix this chunk
$i++;
$cfgServers[$i]['host'] = '';
$cfgServers[$i]['port'] = '';
$cfgServers[$i]['socket'] = '';
$cfgServers[$i]['connect_type'] = 'tcp';
$cfgServers[$i]['controluser'] = '';
$cfgServers[$i]['controlpass'] = '';
$cfgServers[$i]['auth_type'] = 'config';
$cfgServers[$i]['user'] = 'root';
$cfgServers[$i]['password'] = '';
$cfgServers[$i]['only_db'] = '';
$cfgServers[$i]['verbose'] = '';
$cfgServers[$i]['bookmarkdb'] = '';
$cfgServers[$i]['bookmarktable'] = '';
$cfgServers[$i]['relation'] = '';
hope this helps
good luck
toby
--- "Chadwick, John" <JohnC@stlib.state.nm.us> wrote: > The AddType
line did it. Now at least I have something to go on.
> Now I get
> the following:
>
> phpMyAdmin - Error
>
> phpMyAdmin was unable to read your configuration file!
> This might happen if php finds a parse error in it or php cannot
> find the
> file.
> Please call the configuration file directly using the link below
> and read
> the php error message(s) that you receive. In most cases a quote or
> a
> semicolon is missing somewhere.
> If you receive a blank page, everything is fine.
>
> Thanks!
>
> John
>
> -----Original Message-----
> From: Joseph McDonald [mailto:joseph@dchcu.com]
> Sent: Tuesday, June 10, 2003 2:54 PM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Re: problems with phpmyadmin
>
>
> Do you have a cpl lines like this in your httpd.conf?
>
> LoadModule php4_module "c:/php/sapi/php4apache2.dll"
> AddType application/x-httpd-php .php .inc
>
> if your file is name extension is php3, you should have atleast
> .php & .php3
> on the AddType line. I have .inc cause all of my include() files
> are named
> with extension .inc
>
> "John Chadwick" <JohnC@stlib.state.nm.us> wrote in message
>
> news:CEB067884851B640A859D92B8121754631368D@stlib2a.state.nm.us...
> > I have installed PHP 4.3.2 on a Windows 2000 server machine
> running Apache
> > 2.0.45. So far, I seem to have done something right, since the
> directory
> > listing for the phpmyadmin directory gives me the following:
> >
> > Apache/2.0.45 (Win32) PHP/4.3.2 Server at www.stlib.state.nm.us
> Port 80
> >
> > The problem I am having is getting phpmyadmin to work. I have
> followed
> the
> > instructions for the Quick Install in the documentation and all I
> see is
> the
> > source code for the index.php3 page instead of a Web page.
> >
> > Any ideas what is going on?
> >
> > Thanks
> >
> > John
> > +-------------------------------------------------+
> > John Chadwick, Ed.D.
> > New Mexico State Library
> > 1209 Camino Carlos Rey
> > Santa Fe, NM 87507
> > 505-476-9740 johnc@stlib.state.nm.us
> > http://www.stlib.state.nm.us
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Yahoo! Plus - For a better Internet experience
http://uk.promotions.yahoo.com/yplus/yoffer.html