Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can !
Moderator: General Moderators
feli
Forum Newbie
Posts: 4 Joined: Sat Oct 16, 2004 4:31 am
Post
by feli » Sat Oct 16, 2004 4:38 am
I have an apache/2.0.48 server with php/4.3.6 on a 2003web server. the site there working super.
but when i setup the same apache server,and php
on a xpProfessional sp2 o/s i can't login in mySQL database. the 2 servers and the mySQL db have the same configuration
kettle_drum
DevNet Resident
Posts: 1150 Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England
Post
by kettle_drum » Sat Oct 16, 2004 6:20 am
What errors do you get? Is the mySQL server running? Do you get an incorrect password error?
feli
Forum Newbie
Posts: 4 Joined: Sat Oct 16, 2004 4:31 am
Post
by feli » Sat Oct 16, 2004 6:24 am
well, with the mySQL administrator software i can logic to the db,but when i request a login from the page, didn't make a success login
timvw
DevNet Master
Posts: 4897 Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium
Post
by timvw » Sat Oct 16, 2004 7:32 am
Code: Select all
mysql_connect($host, $user, $pass) or die(mysql_error());
meaby you haven't to loaded the php_mysql(i).dll extension first?
feli
Forum Newbie
Posts: 4 Joined: Sat Oct 16, 2004 4:31 am
Post
by feli » Sat Oct 16, 2004 7:44 am
well where i request to login from the logic box, and putting rong username and password, the php returns that i have but login name...
but when i put the right u/n & pass, didn't prossed to the useraccount.
it returns me to the main page,but with no logged in. strange
m3mn0n
PHP Evangelist
Posts: 3548 Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada
Post
by m3mn0n » Sat Oct 16, 2004 8:29 am
For investigation work: [php_man]phpinfo()[/php_man]
If you're site's online: show us the phpinfo() page.
If you're site's offline: save as a .html, upload it for us to see.
timvw
DevNet Master
Posts: 4897 Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium
Post
by timvw » Sat Oct 16, 2004 11:40 am
my 0.02€, the useraccount has only access rights from localhost. that is why it works on server1 (which is also localhost) but not from server2.
feli
Forum Newbie
Posts: 4 Joined: Sat Oct 16, 2004 4:31 am
Post
by feli » Mon Oct 18, 2004 10:18 am
i resolve the problem. there was to session temp folder to the new web server!