Page 1 of 1
problem with apache
Posted: Sat Oct 16, 2004 4:38 am
by feli
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
Posted: Sat Oct 16, 2004 6:20 am
by kettle_drum
What errors do you get? Is the mySQL server running? Do you get an incorrect password error?
Posted: Sat Oct 16, 2004 6:24 am
by feli
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
Posted: Sat Oct 16, 2004 7:32 am
by timvw
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?
Posted: Sat Oct 16, 2004 7:44 am
by feli
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
Posted: Sat Oct 16, 2004 8:29 am
by m3mn0n
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.
Posted: Sat Oct 16, 2004 11:40 am
by timvw
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.
Posted: Mon Oct 18, 2004 10:18 am
by feli
i resolve the problem. there was to session temp folder to the new web server!