well, for some reason it didn't compile in the mysql extension at all... even though it was configured to. That's strange, and I have no idea why it would do that. However, since you're using mysql 4.1.x, you should be using the mysqli interface anyway. Even phpmyadmin has the option to use mysqli instead of mysql; you just need to configure it that way (via config.inc.php)
- tul
I'll try that, but I'd really like to know why it didn't compile in the mysql extension. That was my impression as well, but I couldn't see why that would be the case and am too new to know for sure that this was the case.
Where would I look for the mysqli interface documentation? Is it in the MySQL documentation or the PHP documentation (or both or neither)?
John Swartzentruber wrote:
I have installed MySQL 4.1.10 from RPMs from MySQL. I have installed PHP 5.0.3 from source and specified "--with-mysql=shared,/usr" on the configure line. Things seem to build and load correctly, but (after restarting Apache) when I try to run phpMyAdmin, I get the following error:
cannot load mysql extension, please check PHP Configuration Documentation
I looked at the documentation and I understand what it is saying, but I don't understand why it isn't able to load the mysql.so file.
I'm a real newbie who wants to learn PHP and MySQL and doesn't know either of them very much yet. I would greatly appreciate it if someone could look at my phpInfo() output and point out anything I am missing. You can see it at:
http://john.swartzentruber.us/test.php
I copied the mysql.so file from /usr/local/src/php-5.0.3/modules/ to /usr/lib/httpd/modules/. I'm running Apache 2.0.52 from the Fedora RPM.
I appreciate any help anyone can provide.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php