Apache 1.3.27
PHP 4.3.1
MySQL 3.23
-----------
I tried the built-in MySQL tgz, but it didn't work completely. I uninstalled it via pkgtool and downloaded binaries from
www.mysql.com . I followed the instructions there and successfully got it running. I can use mysqladmin to create database and mysql to edit it. Everything is ok but I can't make php work with it. (Note: Apache and PHP are from slackware 9.0 distribution CD). I tried phpMyAdmin which have pretty good Documentation and there got:
cannot load MySQL extension,
please check PHP Configuration.
---
Quote:
[1.20] I receive the error "cannot load MySQL extension, please check PHP Configuration".
To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP server (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or mysql.dll. phpMyAdmin tried to load the extension but failed.
Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.
|
I searched all over the web but didn't find anything that looks like PHP-MySQL package. I have mysql.so in /usr/lib/php/extensions/mysql.so and following in /etc/apache/php.ini:
extension_dir = "/usr/lib/php/extensions/"
So, what's wrong?