NetBSD-Users archive

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

Re: Drupal Configuration



On Wed, Oct 21, 2009 at 04:51:42PM +0100, Richard Ibbotson wrote:
> > What does the database line in
> > settings.php look like?  
> 
> $db_url = 'mysql://username:password@localhost/databasename';
> $db_prefix = '';

hm, do you have the PHP-MySQL extension installed and loaded?
You can check this by creating a quick test.php page in which you put
the following:

<?php phpinfo(); ?>

then request this page in your browser.   Don't forget to delete it!

If you don't have it installed, look for the php5-mysql package.
If you have it but it doesn't show up in phpinfo output, you will need
to add it to your php.ini.  See the package's MESSAGE for more info.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgpSIdrzBWRIe.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index