Linux - GeneralThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.