|
Posted by Lars Eighner on 07/12/07 03:43
In our last episode,
<f73d8i$pa6$1@news.Stanford.EDU>,
the lovely and talented nobody
broadcast on comp.lang.php:
> I have mysql.so
> its located in /usr/lib64/php/modules/mysql.so
> how do i know if its registered? how do i register it?
if you have a file called extensions.ini -- I'm guess you do if you are
running linux simply add the line
extension=mysql.so
to it. Look at the file, and just make another line like the ones already
in it. This is where php looks to find what modules to load, but it is just
a flat text file. As I mentioned, you can go to this file and remove lines
that are exact duplicates if you ever find "<so-and-so> already loaded"
messages when you fire up php.
--
Lars Eighner <http://larseighner.com/> <http://myspace.com/larseighner>
Countdown: 558 days to go.
Friends of Lizbeth: help replace failed a/c at Austin's no-kill shelter
<https://secure.groundspring.org/dn/index.php?aid=12349>
Navigation:
[Reply to this message]
|