Re: (macosX,camino) issue while opening a PHP file with camino

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



phpMyAdmin is a set of php scripts to administer the MySQL database server. You need a web server running on the machine that you install phpMyAdmin on. phpMyAdmin is a browser-based interface for administering MySQL. So you need a web server installed to use phpMyAdmin. You are using Camino, a web browser, which displays the output of phpMyAdmin on your machine.

There has to be a web server running (that must have been installed by default), otherwise you will not be getting the message '403 - access forbiden'.

So you will need to do the following:

Find out what web server is running on that machine, and locate the web server's configuration log.

Edit the server configuration file, to allow access to the directory in which phpMyAdmin has been installed.

As has also been mentioned, you may have a problem with your directory or file permissions too.

Keeping it simple, a web server, such as Apache, has it's own DocumentRoot setting, which is nothing to do with your root user's folder, or any other user's folder on your system. The web server will dish out any files found in the *web server* DocumentRoot, to anyone on the internet, subject to access restrictions found in the server httpd.conf file, or whatever server is running on your machine.

Try copying a simple php script to the same directory as the setup.php file. See if you can access that, with the permissions set to rwxrwxrwx - unix chmod 777 filename.

Please tell us the following:

What OS are you using for the machine phpMyAdmin has been installed on?

Which web server is running on this machine?

When the web server gives an error message, such as 403 - access denied, does it tell you the name of the web server that generated that message?

If you cannot tells us that much, then there's not alot more anyone can do to help you really.

Kind Regards

Keith roberts

On Wed, 8 Aug 2007, lolveley wrote:

To: Paul Blondé <jpb@xxxxxxxx>
From: lolveley <olivier57b@xxxxxxxx>
Subject: Re:  (macosX,
    camino) issue while opening a PHP file with camino

Hello,

here are the informations : the file is used by phpMyAdmin to set up this software I have not modified permissions for this file (as a newcomer in the mac world, I do not know how to modify permissions with unix... something like rwxst...) And ...I think there is no server. In fact, I have installed mysql with macports (under unix, so I did not saw a lot of things), and after that phpmyadmin; I found the directory of phpMyAdmin, and had a look at the documentation. In the documentation, I learned the necessity to configure phpMyAdmin with the setup.php script. But at no time I installed a server.

Vous êtes canadien, vous parlez français alors (et même mieux que moi!). Salut!Ca doit être l'après-midi à présent.Ici, il est 23h00.

A la prochaine,

lolveley.


Paul Blondé a écrit :
What is this file for, to set up the php software?

To perform the setup for another application using php?

Did you set user permissions on the file properly?

Did you give access to it to your web server?

Do you understand that the root of your hard disk is not the same as the root of your web site (or should not be, since that would give anyone in the world the rights to at least read your entire hard disk, and possibly run or
even, if the permissions allow it, write anything anywhere on your hard
disk).



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Paul Blondé



-----Original Message-----
From: olivier SAINT-EVE [mailto:olivier57b@xxxxxxxx] Sent: Wednesday, August 08, 2007 1:33 PM
To: php-install@xxxxxxxxxxxxx
Subject: (macosX,camino) issue while opening a PHP file with
camino


Hello,

a file named setup.php is in the root folder of my hard disk, and I wanted to open it from camino, with the address: "http://localhost/setup.php";. But I have an error 403:"access forbidden".

Does someone know how to solve this problem?
I specify I have installed PHP5 with macports.

lolveley.

------------------------------------------------------------
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

This email address is challenge-response protected with
http://www.tmda.net
------------------------------------------------------------

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux