#1  
Old 9th October 2008, 14:12
wotan2005 wotan2005 is offline
Junior Member
 
Join Date: Oct 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fehlermeldung

Hallo,

leider ist mein Englisch nicht so gut, das ich hier den fehler in englisch schreiben kann.

folgende Fehlermeldung bekomme ich:
Fatal error: Call to undefined function mysql_connect() in /usr/share/mydnsconfig/lib/classes/db_mysql.inc.php on line 75

Ich habe mich direkt an die Installationsanleitung aus dem Tar gehalten.

Folgendes OS:
Debian Etch

Software:
Apache2
MySQL-Server
MySQL-Client
PHP5
PHP5-MySQL
PHPMyAdmin
MyDNS-MySQL

Bitte um Hilfe!

PHPMyAdmin läuft einwandfrei und hat auch Zugriff auf den MySQL-Server.
Reply With Quote
Sponsored Links
  #2  
Old 9th October 2008, 14:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
Default

Please execute the following command as root:

apt-get install php5-mysql

and then try again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 9th October 2008, 14:24
wotan2005 wotan2005 is offline
Junior Member
 
Join Date: Oct 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hallo,

ist installiert, da sonst der PHPMyAdmin nicht laufen würde.
Code:
dpkg -l | grep php
ii  libapache2-mod-php5    5.2.0-8+etch13                       server-side, HTM                                             L-embedded scripting languag
ii  php5                   5.2.0-8+etch13                       server-side, HTM                                             L-embedded scripting languag
ii  php5-common            5.2.0-8+etch13                       Common files for                                              packages built from the php
ii  php5-mysql             5.2.0-8+etch13                       MySQL module for                                              php5
ii  phpmyadmin             2.9.1.1-8                            Administrate MyS                                             QL over the WWW
Reply With Quote
  #4  
Old 9th October 2008, 14:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
Default

Quote:
da sonst der PHPMyAdmin nicht laufen würde.
No, not nescessarily as phpmyadmin runs with mysqli too, but mydnsconfig requires mysql and does not work with mysqli.

Please create a file containing the phpinfo(); command and put it in the same folder then mydnsconfig, open the file in a browser and check that the mysql php extension (and not only the mysqli extension) is loaded.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 9th October 2008, 14:37
wotan2005 wotan2005 is offline
Junior Member
 
Join Date: Oct 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
/etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini
und
Code:
mysql
MySQL Support	enabled
Active Persistent Links 	0
Active Links 	0
Client API version 	5.0.32
MYSQL_MODULE_TYPE 	external
MYSQL_SOCKET 	/var/run/mysqld/mysqld.sock
MYSQL_INCLUDE 	-I/usr/include/mysql
MYSQL_LIBS 	-L/usr/lib -lmysqlclient

Directive	Local Value	Master Value
mysql.allow_persistent	On	On
mysql.connect_timeout	60	60
mysql.default_host	no value	no value
mysql.default_password	no value	no value
mysql.default_port	no value	no value
mysql.default_socket	no value	no value
mysql.default_user	no value	no value
mysql.max_links	Unlimited	Unlimited
mysql.max_persistent	Unlimited	Unlimited
mysql.trace_mode	Off	Off
Und neuer Versuch
Reply With Quote
  #6  
Old 9th October 2008, 14:39
wotan2005 wotan2005 is offline
Junior Member
 
Join Date: Oct 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Danke läuft jetzt.

Sollte man vielleicht aber noch mit in Install reinschreiben.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.