phpmyadmin

Hi,
i have installed phpmyadmin from repository and when i try to connect i get the message:

Access denied
error 403

i don’t know what to do

thanks for your help

Thierry;)

is it a problem with a non loaded apache module?

Should work out of the box if you got the package from software.opensuse.org. Check that you have the right package:

rpm -q phpMyAdmin

Check that you are using the right URL:

http://localhost/phpMyAdmin

Show us the full error message. Also look in /var/log/apache2/error_log for any clues.

I haven’t tried phpmyadmin. but i think its related to your mysql conf, mean username/password.

You can use, works far better than phpmyadmin:
Mysql Query Browser
Mysql Administrator

You can search it in software management:
mysql-query-browser
mysql-administrator

It’s a front end tools for MySQL, and works better than other softwares.

hello
rpm -q phpMyAdmin : phpMyAdmin-3.2.0-1.1
the message is : you don’t have access to this directory; either there is no index.html either the directory is protected

thanks for your help

Thierry

Did you install these packages?

apache2-mod_php5-5.2.9-0.1.1
php5-5.2.9-0.1.1
php5-zlib-5.2.9-0.1.1
php5-mbstring-5.2.9-0.1.1
php5-mysql-5.2.9-0.1.1

and probably more needed. You also need to enable php5 in /etc/sysconfig/apache2, variable APACHE_MODULES, you should add php5 to that string and restart apache.

hello
i had all these packages installed and i add php5 to MODUELS in sysconfig .I restarted apache but it does’nt work!!

what can i do?

First test a simple PHP script to make sure that system works. Put this in /srv/www/htdocs/phpinfo.php:

<?php
phpinfo();
?>

Then go to http://localhost/phpinfo.php. If you don’t get a page telling you all about PHP, your PHP setup isn’t working.

hi,
i tried your test and it does’nt work!!
Thanks

Thierry

AFAICS you don’t have apache running. Start Yast - System - Runlevel editor, and make sure apache starts at boot.
Then in Yast - Network Services - HTTP configuration check the settings.

does phpmyadmin use a virtual host?

No, not requred.

trazomtg wrote:

>
> does phpmyadmin use a virtual host?
>
>
Did you check the permissions on /srv/www/htdocs/phpmyadmin/config.inc.php?
should be 664, used to setup by default as 644. Also did you set the
parameters in config.inc.php correctly?

Hope this helps.

Russ [openSUSE 11.1 (2.6.27.29-0.1-default [x86_64]) KDE 4.3.0 release 158,
Intel DX48BT2 Core 2 Dual E7200. 4 GB DDR III GeForce 8400 GS, 320GB Disc
(2)]