From: Simon D. <si...@ir...> - 2002-07-01 13:30:38
|
On Mon, 2002-07-01 at 14:02, ge...@do... wrote: > > On Sun, 2002-06-30 at 21:47, Gerry Doris wrote: > >> I'm having problems getting mysql to work correctly with SM and would > >> like a few hints! > >> > snip.... > >> > >> I've cp'd the db_prefs.php over to prefs.php and gone into conf.pl and > >> made the following changes for the two dns lines (options 1 & 3 of the > >> database setup): > > > > The copying of the file hasn't been necessary since before SM 1.2.6. > > The instructions at the top of db_prefs.php in the functions directory say > to copy it over the prefs.php file. OK, my fault, I forgot to delete those lines after I'd updated the code, I've fixed that for the next release. Also docs/db-backend.txt has more details stuff ;) > I've got it to work! Besides not copying the db_prefs file I noticed that > SM was looking for a directory called /usr/share/php. That doesn't exist > on Redhat 7.3 systems (at least my system). Redhat stuffs all the php > routines in /usr/share/pear. Once I fixed the path it worked. I blame PHP for that, SM just uses it's include path, so it's not out fault ;) -- Simon Dick si...@ir... |