Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 1st, 2004, 12:02 PM
Yee Yee is offline
Authorized User
 
Join Date: Oct 2004
Location: , , Singapore.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Php with SQL

Hi,
I am using IIS as my server and php too. I am abit confusing when i installed mysql. As some book recomended use phpmyadmin to work with mysql. What is phpmyadmin? Is it a server program? I already have IIS as my server can i still install and use phpmyadmin? As it seem like using phpmyadmin to handshake with mysql make creating database on web easier. Can anyone help me please.

Thank and regards.



 
Old November 1st, 2004, 12:09 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Read all about it at http://www.phpmyadmin.net.

AFAIK you can use PHPMyAdmin with IIs. Though it begs the question why anyone would *want* to use PHP with IIs in the first place, but that's another debate entirely ;).

HTH!

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
 
Old November 1st, 2004, 02:59 PM
Yee Yee is offline
Authorized User
 
Join Date: Oct 2004
Location: , , Singapore.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
I have just unzip phpmyadmin to my interpub/wwwroot and it appear to have another folder inside the interpub/wwwroot/phpMyAdmin-2.6.0-pl2.
Inside it i make some admendment on the config.ini.php

i change the code
$cfg['PmaAbsoluteUri'] = '';
to
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin';

and also the php config file inside the window folder

register_globals=ON

I had installed php4.3.9 and mysql server and client 4.0.21 on my system and i running IIS server.

However, when i go to my brownser and type
http://localhost/phpMyAdmin

it appear
The page cannot be found

Am i missing any steps or i unzip in wrong directory.

Thank for replying my question.

 
Old November 1st, 2004, 03:09 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

If you set:
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin';

Then, interpub/wwwroot/phpMyAdmin-2.6.0-pl2 isn't the correct path, it must be interpub/wwwroot/phpMyAdmin for that to work, so it's safe to discard the extra folder.

Look closely at the configuration file, because some directives appear more than once within that file.


Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail




Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP-SQL gabstlee PHP Databases 2 January 11th, 2008 12:45 AM
PHP + My sql jayarajin2k3 JSP Basics 0 April 10th, 2007 12:55 AM
PHP and SQL orders Ashleek007 PHP How-To 2 November 7th, 2004 08:27 AM
PHP and SQL (NOT MYSQL) garethjennings PHP Databases 1 July 21st, 2004 04:14 AM
Speed up executing SQL in PHP stash PHP Databases 5 April 15th, 2004 09:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.