Re: Red Hat 7.2 enabling MySQL on preinstalled PHP
| From: | Richard Lynch | Date: | Mon, 29 Jul 2002 08:57:42 +0000 |
| Subject: | Re: Red Hat 7.2 enabling MySQL on preinstalled PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-110128@lists.php.net to get a copy of this message | ||
>I installed PHP when I installed Red Hat 7.2 without MySQL. I have now
>added MySQL but I can't figure out how to enable it in PHP. Can anyone help?
There are three possibilities:
1. PHP already has MySQL support, and you're done.
2. You need to install a different PHP RPM or tarball to get MySQL.
3. You *have* MySQL support, but for a different version of MySQL than you
installed.
<?php phpinfo();?>
Will tell you if you have MySQL support. Either you see MySQL (do a
"Find...") somewhere on that web page, or you ain't got MySQL.
It will also tell you what *VERSION* of MySQL support you have.
You probably know what version of MySQL you just installed.
If those versions don't match up, do something to make them match -- Install
older MySQL or newer PHP or whatever.
--
Like Music? http://l-i-e.com/artists.htm
I'm looking for a PRO QUALITY two-input sound card supported by Linux (any
major distro). Need to record live events (mixed already) to stereo
CD-quality. Soundcard Recommendations?
Software to handle the recording? Don't need fancy mixer stuff. Zero (0)
post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo
audio-to-disk.