PHP Error and linking

Status
Not open for further replies.

chefan

New Member
Messages
16
Reaction score
0
Points
0
Greetings!
There seems to be a problem with PHP:
"Fatal error: Call to undefined function mysql_connect() in/home/chefan/public_html/wiki/lib/mysql.php on line 39" should not occur. The site was up and running yesterday with no problem at all.
Could it be that php was compiled without mysql support?
Apart from that i tried to link my accounts, following the instructions, but never got any option to link, nor did i receive any mail. Account names and passwords for the forum and account are the same since registering.
Could it be that newer accounts are linked from the start?

Regards, Stefan
Edit:
I just stumbled over something that might be a hint the PHP issue:
found in
http://www.php.net/manual/de/install.unix.php
under user comments

moonlightcheese
23-Aug-2007 05:49
There is little or no documentation regarding the fact that MySQL Client Library isn't bundled with PHP anymore. The installation instructions need to be changed with, at the very least, some instructions for how to get PHP to recognize that the client library is installed. I realize that this may be a problem with licensing and as such, it's not possible to document too much regarding MySQL...

I personally fumbled around with PHPNuke for a day or two before realizing that I was getting blank pages due to database problems. It would be nice to have a ./config option like --with-mysql-client-library='/path/to/libmysqlclient.so' at the very least... i still can't get PHP to recognize where the mysql client library is and MySQL's documentation is jumbled at best...
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
I'm recompiling Apache with PHP, that would be why you saw the error. Regarding the linking your account is already linked successfully. Please re-open this thread if you still have issues in a few hours from now.

-Corey
 
Status
Not open for further replies.
Top