Fehlermeldung aus phpMyAdmin

klhesc

Well-Known Member
Ich versuche phpMyAdmin zu installieren auf einem FreeBSD 6.1 mit Apache2.0, MySQL 5.0 und PHP 5.2.1. In dieser Reihenfolge wurde das auch installiert.
Danach habe ich phpMyAdmin installiert und Einsetllungen vorgenommen. Folgende Fehlermeldung bekomme ich:
Code:
Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in /usr/local/www/phpMyAdmin/libraries/Config.class.php on line 730

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/phpMyAdmin/libraries/Config.class.php:730) in /usr/local/www/phpMyAdmin/libraries/common.lib.php on line 2413

Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in /usr/local/www/phpMyAdmin/libraries/Config.class.php on line 272

Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in /usr/local/www/phpMyAdmin/libraries/Config.class.php on line 274

Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in /usr/local/www/phpMyAdmin/libraries/Config.class.php on line 158

Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in /usr/local/www/phpMyAdmin/libraries/Config.class.php on line 161

Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in /usr/local/www/phpMyAdmin/libraries/Config.class.php on line 164

Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in /usr/local/www/phpMyAdmin/libraries/Config.class.php on line 170

Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in /usr/local/www/phpMyAdmin/libraries/Config.class.php on line 173

Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in /usr/local/www/phpMyAdmin/libraries/Config.class.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/phpMyAdmin/libraries/Config.class.php:730) in /usr/local/www/phpMyAdmin/libraries/auth/http.auth.lib.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/phpMyAdmin/libraries/Config.class.php:730) in /usr/local/www/phpMyAdmin/libraries/auth/http.auth.lib.php on line 31

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/phpMyAdmin/libraries/Config.class.php:730) in /usr/local/www/phpMyAdmin/libraries/auth/http.auth.lib.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/phpMyAdmin/libraries/Config.class.php:730) in /usr/local/www/phpMyAdmin/libraries/auth/http.auth.lib.php on line 35



Willkommen bei phpMyAdmin 2.10.0.2
Auf einem anderen FreeBSD hatte ich solche Probleme nicht. Dort habe ich aber auch noch Typo3 und eGroupware laufen.

Wer kann mir einen Tipp geben. Folgende Pakete sind installiert:
Code:
apache-2.0.59                       =   up-to-date with port
autoconf-2.59_2                     =   up-to-date with port
bash-2.05b.007_6                    =   up-to-date with port
db4-4.0.14_1,1                      =   up-to-date with port
db41-4.1.25_4                       =   up-to-date with port
expat-2.0.0_1                       =   up-to-date with port
fontconfig-2.3.2_7,1                =   up-to-date with port
freetype2-2.2.1_1                   =   up-to-date with port
gettext-0.14.5_2                    =   up-to-date with port
gmake-3.81_1                        =   up-to-date with port
help2man-1.36.4_1                   =   up-to-date with port
imake-6.9.0_1                       =   up-to-date with port
jpeg-6b_4                           =   up-to-date with port
libdrm-2.0.2                        =   up-to-date with port
libiconv-1.9.2_2                    =   up-to-date with port
libltdl-1.5.22_2                    =   up-to-date with port
libmcrypt-2.5.7_2                   =   up-to-date with port
libtool-1.5.22_4                    =   up-to-date with port
libxml2-2.6.27                      =   up-to-date with port
m4-1.4.8_1                          =   up-to-date with port
mysql-client-5.0.33                 =   up-to-date with port
mysql-server-5.0.33                 =   up-to-date with port
p5-gettext-1.05_1                   =   up-to-date with port
pcre-7.0_1                          =   up-to-date with port
pdflib-7.0.0p3                      =   up-to-date with port
pecl-pdflib-2.1.3                   =   up-to-date with port
perl-5.8.8                          =   up-to-date with port
php5-5.2.1_3                        =   up-to-date with port
php5-bz2-5.2.1_3                    =   up-to-date with port
php5-ctype-5.2.1_3                  =   up-to-date with port
php5-gd-5.2.1_3                     =   up-to-date with port
php5-mbstring-5.2.1_3               =   up-to-date with port
php5-mcrypt-5.2.1_3                 =   up-to-date with port
php5-mysql-5.2.1_3                  =   up-to-date with port
php5-openssl-5.2.1_3                =   up-to-date with port
php5-pcre-5.2.1_4                   =   up-to-date with port
php5-session-5.2.1_3                =   up-to-date with port
php5-zlib-5.2.1_3                   =   up-to-date with port
phpMyAdmin-2.10.0.2                 =   up-to-date with port
pkg-config-0.21                     =   up-to-date with port
png-1.2.14                          =   up-to-date with port
portaudit-0.5.10                    =   up-to-date with port
portupgrade-2.0.1_1,1               =   up-to-date with port
ruby-1.8.5.12,1                     =   up-to-date with port
ruby18-bdb-0.6.0                    =   up-to-date with port
t1lib-5.1.1,1                       =   up-to-date with port
xorg-libraries-6.9.0_1              =   up-to-date with port

Vielen Dank im voraus
 
Um noch weitere Information zu geben. Hier ist der Inhalt der Datei /usr/local/www/phpMyAdmin/config.inc.php
Code:
$i=0;
$cfg['blowfish_secret'] = 'ggfdres98#+';
$i++;
$cfg['Servers'][$i]['host'] = 'mein.hostna.me';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'GeHeimNis';

In der Datei /usr/local/etc/apache2/httpd.conf habe ich folgendes eingestellt:
Code:
#
# Setup for phpMyAdmin
#
Alias /MySQL "/usr/local/www/phpMyAdmin"

<Directory "/usr/local/www/phpMyAdmin">
  Options none
  AllowOverride limit

  Order Allow,Deny
  Allow from all
  Deny from 172.16.0.1
</Directory>

Für Hilfe wäre ich echt dankbar.
 
Ich habe es jetzt hinbekommen. So richtig kann ich aber nicht sagen woran es lag.

Die neueste Version von php5_pcre habe ich installiert und dann in der Konfigurationsdatei noch die Host Einstellung auf localhost geändert. Der Hostname wurde nicht akzeptiert. Dann hat es auch mit http als Authentisierungsmethode geklappt.

Vielen Dank für den Tipp :)
 
@ klhesc

kannst du bitte mal deine aktuallisierte httpd.conf und deine config.inc.php posten?

ich sitze nämlich auch gerade vor phpMyAdmin und das ding will nicht so wie ich :confused:
 
Der Teil aus der httpd.conf ist bei mir so, wie oben beschrieben. Da der Rechner nicht aus dem Internet erreicht werden kann, brauche ich keine Einschränkungen auf bestimmte IP Adressen oder Hostnamen.

Die config.inc.php sieht bei mir so aus:
$i=0;
$cfg['blowfish_secret'] = 'ggfdres98#+';
$i++;
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';

Wenn ich dann die Applikation ansteuere, fragt er mich nach dem Passwort und ich gebe "root" und das "root" Passwort der Datenbank ein. Danach kann ich dann zugreifen. Es geht auch, wenn andere Benutzer in der SQL Datenbank eingerichtet sind.
Ich hoffe das hilft weiter.
 
Zurück
Oben