• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

kein mysql bei subdomains unter php

martinr92

New Member
Hallo,

ich hab mir jetzt mal meinen Server wieder komplett neu aufgesetzt.

Also hab ich mir dann Apache2 installiert (ich hab einen Debian-Server) und php5 dazu geholt.

Jetzt noch Mysql installiert und gleich auf einer Subdomain (sql.meine-domain.de) phpmyadmin drauf geladen.

Jetzt zeigt mir der jedoch die Fehlermeldung :
Die Erweiterung mysql kann nicht geladen werden. Bitte überprüfen Sie Ihre PHP-Konfiguration.

wenn ich phpmyadmin jetzt aber unter dem root-Verzeichnis von apache2 reinstelle funktionier phpmyadmin fehlerfrei.

meine Config von apache2:
NameVirtualHost *
<VirtualHost *>
ServerAdmin #steht meine mail drinnen#

DocumentRoot /var/www/main/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/main/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
# RedirectMatch ^/$ /apache2-default/
</Directory>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>

<VirtualHost *>
ServerName sql.meine-domain.de
DocumentRoot /var/www/subdomains/sql/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/subdomains/sql/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>

Warum funktioniert mysql unter der Subdomain nicht?

MFG
Martin
 
Back
Top