[SOLVED] problem with apache

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

Post Reply
feli
Forum Newbie
Posts: 4
Joined: Sat Oct 16, 2004 4:31 am

problem with apache

Post 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
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

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 »

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 »

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 »

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
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post 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.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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.
feli
Forum Newbie
Posts: 4
Joined: Sat Oct 16, 2004 4:31 am

Post by feli »

i resolve the problem. there was to session temp folder to the new web server!
Post Reply