Re: Getting PHP to work with MySQL 4.1.10 under Fedora Core 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux