LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-30-2003, 08:43 AM   #1
dleone
LQ Newbie
 
Registered: Jan 2003
Posts: 13

Rep: Reputation: 0
Compile a dynamic MySQL module/load into PHP


In need to compile a dynamic MySQL module and then load it into PHP or recompile it because of this error:

Fatal error: Call to undefined function: mysql_create_db() in /var/www/html/595_test/createDB.php on line 23

However - I cannot find a reference to this in the PHP manual. I guess I need explicit instructions on how to rectify this issue. Any help would be appreciated. (Or if another option is more desirable to a newbie such as myself, please let me know!)
Thanks in advance, Don

8.1.1 Common Problems with MySQL and PHP
Error: "Fatal error: Call to unsupported or undefined function mysql_connect() in .." This means that your PHP version isn't compiled with MySQL support. You can either compile a dynamic MySQL module and load it into PHP or recompile PHP with built-in MySQL support. This is described in detail in the PHP manual.
Error: "undefined reference to `uncompress'" This means that the client library is compiled with support for a compressed client/server protocol. The fix is to add -lz last when linking with -lmysqlclient.
 
Old 01-30-2003, 09:30 AM   #2
dleone
LQ Newbie
 
Registered: Jan 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Additional note: running RH 8.0 which according the manual references PHP 4.2.0, which is what I would assume is the version installed when adding packages from the CD
 
Old 01-31-2003, 09:39 AM   #3
Wolven
Member
 
Registered: Jan 2003
Posts: 195

Rep: Reputation: 30
I thought we were still talking about it in the other thread.

Go check
http://www.linuxquestions.org/questi...threadid=43379

and check the line about the php.ini file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Warning: Unable to load dynamic library xbaez Linux - Software 3 02-15-2005 06:11 PM
can't compile/load nvnet module kryptobs2000 Slackware 2 07-20-2004 12:50 PM
i want to compile and load a module into kernel ramya272 Linux - Newbie 3 02-21-2004 10:17 AM
To compile or to load as module ? synapse Linux - Newbie 3 01-30-2004 04:41 AM
php static module & dynamic module install. eye Linux - Software 0 10-18-2003 12:16 PM


All times are GMT -5. The time now is 03:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration