> Programming Languages > PHP
Various Topics Home | Disclaimer | Report Adult Posts

Various Topics on PHP



PHP - "phpMyAdmin Setup" in Programming Languages


Old 06-20-2004   #1
..onehe..
 
Default phpMyAdmin Setup

Okay, I've never used phpMyAdmin before but I'm trying to learn.

I've downloaded the .zip file and unzipped it on my Windows box. It
looks like all I have to do now is ftp all the files to the appropriate
directory on my RedHat box, and then just configure a few settings like
hostname, username and p***word.

I guess I'm not quite clear on the concept of which directory I'm
supposed to ftp the files to. Since it has to run in a web browser, I
presume I'm supposed to ftp the files to:

/var/www/html

or to a new directory I create in this location.

Yes | No?

Explain?

 
Old 06-20-2004   #2
..l..
 
Default Re: phpMyAdmin Setup

> I guess I'm not quite clear on the concept of which directory I'm
> supposed to ftp the files to. Since it has to run in a web browser, I
> presume I'm supposed to ftp the files to:
>
> /var/www/html
>
> or to a new directory I create in this location.
>
> Yes | No?


I personally upload it to its own directory within the root directory, if
you are using apache I would suggest p***word protecting the directory as
well otherwise anyone can come along and edit your database


 
Old 06-21-2004   #3
..onehe..
 
Default Re: phpMyAdmin Setup

Filth wrote:
> I personally upload it to its own directory within the root directory, if
> you are using apache I would suggest p***word protecting the directory as
> well otherwise anyone can come along and edit your database


Thanks for replying.

Okay, so I guess

/myadmin

would be a plausible place to load the files, but I might still not
understand unix apache all that well. I was under the impression that,
any files which need to be viewable to a user through a browser *must*
be somewhere within /var/www/html/

IOW if I were to just enter "www.my_registered_url.org:my_httpd_port"
into a browser, when the http request hits my server, the server would
go directly to /var/www/html and look for a file called 'index.html'.

So I guess the part I'm not still clear on is how to access the
phpmyadmin files in /myadmin through a browser...

 
Old 06-21-2004   #4
....
 
Default Re: phpMyAdmin Setup

'bonehead <senmenospam@here.org> wrote in news:40D61297.3080103@here.org:

> So I guess the part I'm not still clear on is how to access the
> phpmyadmin files in /myadmin through a browser...
>


www.yourdomain.com/myadmin/index.php

***uming you dont have an index.html file. And... as already posted, your
p***word protection that you WILL add then asks you for p***word. Also, try
something else other than 'myadmin', as its too easy to guess. Perhaps it
doesnt really matter, but it wont hurt to choose something more unique.

Another option, ***uming you have a static IP and Apache/PHP on your home
machine, is to keep the files on your computer and see if you can get your
hosting company to allow it access to the remote database.
 

Thread Tools
Display Modes





Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0