Click to See Complete Forum and Search --> : phpNuke, on localhost test webserver, user problems


ArtyMcSwizzle
03-16-2005, 01:27 PM
I've set up a local webserver to do some website development. Here's the setup

Apache httpd 1.33
PHP 4.3 (so apache module)
MySQL 4.1

PHPNuke6

Everything works fine for simple tests with Httpd and PHP (read, hello world, type stuff). The databas e is also setup alright (I have phpMyAdmin setup and working just fine).

I also have separate users set up on the machine for each account of websites I have. Their personal htdocs are localed under ~/public_html

I've also setup MySQL account for each of these users.

I went and tried to setup phpNuke on User1, and set all of my config.php (host, user, pass, etc.) information. Did a sanity check with it and made it echo out all of the data in config.php before it tries to make any connections.

So I run it (point the browser at it), and I get a series of error messages. Basicly what they boil down to is authentication error.

"Access denied for user www@localhost (using password: NO)"

This however is strage, it should be using the login information that I inputed into config.php (user1, its password, etc) because it all checks out in the sanity check.

Why is it still accessing the DB with user www. I realise that apache is running as user www, but shouldn't the config.php override these settings.

Any help is much apreciated!