Ar wrote: > My os is mandrake 9.1 > > How is the php-mysql extension installed on this platform? > > I have mysql and php installed (as rpm packages). phpinfo() displays the > configure command which does not include --with-mysql. phpinfo said that > the extensions could be installed by doing urpmi php-theextension, so I > ran urpmi php-mysql and that package was installed. phpinfo() now lists > /etc/php/34_mysql.ini as an additional .ini file. But the phpinfo output > still says that the mysql is not installed.
I don't know anything about Mandrake, but did you stop and start Apache after installing the MySQL package? "apachectl restart" might be not enough for that, better try "apachectl stop", wait a few seconds, "apachectl start". > Companion question: I do not have a configure command anywhere on my > system. Should this command be there as part of the rpm install of php? No, "configure" is only in the source, so if you have only binary rpm packages, you won't have it and you don't need it. "Every" source has it's own configure script, so you can't just use a configure from another package (if you want to know more about "configure", look for autoconf and automake). Regards... Michael