Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using Debian and I got apache2 php4 and mysql all installed. I tried to install an invision forum. After I tried to make the forum this is the error I received:
Code:
Fatal error: Call to undefined function: mysql_connect()
in /var/www/forum/sm_install.php on line 342
Now I know it's something wrong with the php. I installed the php4-mysql module thing and it's still not working.
Like many other Debian pkgs, php4 is crippled by default for security purposes. mod_php4 doesn't have mysql support enabled, but it is compiled in as a loadable module.
All you have to do is open /etc/php4/apache2/php.ini and uncomment the line
extension=mysql.so
then reload apache2
(sorry for the very late reply, but i browsed in with a similar problem and i'm sure others may too, so this reply is mainly for google)
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - libmysqlclient.so.12: cannot open shared object file: No such file or directory in Unknown on line 0
[Sat Apr 2 14:36:50 2005] [notice] Apache/1.3.31 (Unix) mod_ssl/2.8.18 OpenSSL/0.9.7d PHP/4.3.9 configured -- resuming normal operations
and mysql.so is in that exact position, but for some reason apache aint seeing it. i'm on Slackware10 mysql 4.1.10a
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.