Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot start phpMyAdmin 1

Status
Not open for further replies.

yigalm

Technical User
Aug 16, 2001
42
US
Hi

I am trying to start phpMyAdmin, but so far witout success.

I unzipped it into a directory(phpMyAdmin) inside my root directory( on Win XP Pro.

I changed the variable in the configuration file to point to this directory (
I never created any usernames or passwords on the MySQL server, so I left the dafaults intact (user: root, password: '').

Then I pointed my browser to and it just displayed the contents of the file as text, and not as the promised welcome screen.

What am I doing wrong?

Thank you!
 
You haven't informed your web server that it should treat PHP files as scripts.

What web server are you using? ______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
I installed (I think) IIS from Win XP CD. It doesn't mention anything about informing it in the phpMyAdmin documentation...
 
phpMyAdmin is a set of PHP scripts to manage MySQL. Have you performed all the steps in installing PHP with IIS? The instructions here:
The problem is the IIS does not know that PHP is a scripting language. It thinks that PHP is just a file you pass to the web client, like HTML. ______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
It is funny, but I was trying to play with PHP without actually installing PHP itself. I was just thinking in terms of ASP, where nothing extra had to be installed, and the server knew automatically what to do with the script.

Now I downloaded and installed PHP installer from php.net. Trying to browsed again to I receive one error and a bunch of warnings and notices.
The error says: "Parse error: parse error, unexpected ':' in c:\inetpub\ on line 36", where on line 36 in the script I have: "$cfgPmaAbsoluteUri =
Is there a problem with the URL or something? Do I still have to follow instructions on installing PHP for IIS, even after I run the PHP installer?

Thanx!
 
Yeah, actually having PHP installed does help. [smile]

PHP is running now. You're getting error messages, which actually is a good thing, compared to before.

I think the line should read:

$cfgPmaAbsoluteUri = ""; ______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
You were right. It works now. Thanks a lot!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top