Link to home
Start Free TrialLog in
Avatar of sasha85
sasha85

asked on

wamp apache php server

i got new Microsoft windows server 2003 ,pack2
(no internet connection yet-i just want it to play php+mysql)
i just installed the wamp but i just cannot open the index.php
from the C:\wamp\www
here i some screen shots:
[ilmc.brinkster.net]
[ilmc.brinkster.net]
[ilmc.brinkster.net]
[ilmc.brinkster.net]
i got no errors , nut when i double click on the file i got nthing moving too.
i just don't know what to do any more...its looks like it cannot show php files.


Add/Remove Programs>Add/Remove Windows Components>application server>
every thing is unchecked( as well as Internet Information Services (IIS)

left click>Apache>Service>Test port 80>
"your port is actually used by: server:Apache/2.2.6 <win32> PHP/5.2.5"

please help
Avatar of psimation
psimation
Flag of South Africa image

what do you see when you type "localhost" into IE on the server?

Avatar of sasha85
sasha85

ASKER

the oage cannot be displayed
Then Apache is not running - there should be a little wamp icon in your system tray, right click on it and select "restart all services" - then make sure they are all running. Most common problem is that IIS is already running on the machine and thus uses port 80
Avatar of sasha85

ASKER

is tried to click "restart" on the wamp menu and to go to the localhost...but got the same problem...


Add/Remove Programs>Add/Remove Windows Components>application server>
every thing is unchecked( as well as Internet Information Services (IIS)

left click>Apache>Service>Test port 80>
"your port is actually used by: server:Apache/2.2.6 <win32> PHP/5.2.5"
Do you have a NIC card Driver installed, already Network connected ???

Immediate Solution:-
Or else best way to solve it is to install Microsoft loopback adapter

> control panel
> add hardware
> next
> "Yes I have connected the hardware"
> (Scroll to bottom) Add a new hardware device
> Install the hardware that I manually select from a list (Advanced)
> Network Adapters
> Select Microsoft on the left
> Microsoft Loopback adapter on the right
> Next
> Next

I hope this help and allows you to see the localhost after this
Avatar of sasha85

ASKER

what is the NIC card Driver?
 and i got no network connected...its a new ibm server from the box...with 5 network connections(not connected).
Network Interface Card Driver
Avatar of sasha85

ASKER

they are installed but i don't use them...as you can see on the screen shot there are icons of it besides the time
Avatar of sasha85

ASKER

wat it got to do with the wamp and port80?
hey there... sorry the screen shot links dont appear !!!
Please post them again
Did you try installing the loop backadapter...

I am sure it will help you to get the things up and running
Avatar of sasha85

ASKER

loop backadapter\Network Interface Card Driver -people i am realy small here...can you explain how i can check if those installed?

here are my screen shots
http://www.wampserver.com/phorum/read.php?2,30759
All the little red crosses accross your network adapters in your systray (next the time) on your screenshots shows that your LAN cards are not configured, or does not have the drivers installed. This may prevent you from "browsing" to your own machine if you do not have a "loopback" device installed ( which is basically a "dummy" network card that loops back on itself)

Do you really have 4 LAN cards in the server? Try to configure at least one of them by installing the correct drivers and assigning an IP address to it (like 192.168.0.1 / 255.255.255.0)

Avatar of sasha85

ASKER

i understand the main idea but cannot understand what it got to do with wamp server...
is that not have to work offline too?
Avatar of sasha85

ASKER

i don't use those lan's, if that will solve the problem than please tell me how to disable them?
Avatar of sasha85

ASKER

how can i install that loopback" device?
I don't think that is your problem - I just tested it - I installed wamp2 on my vista pc, disabled my lan card, and I could still browse to the default wamp page on localhost...

Since you are on Server2003 - the problem may be more with permissions - are you installing wamp2 as administrator?
Avatar of sasha85

ASKER

i palin server..nothing installed -only windows server 2003 and wamp...
i got 4 disabled local connection , one enable...(is there special settings?)
i ping local host and got all fine...

what is the problem?
sasha
I really cannot think why u having trouble - I installed wamp myself on Vista, XP and 2003 just like you did and it works perfectly each time.

maybe you should try posting on the wamp support forums?
Avatar of sasha85

ASKER

can it be some thing with my network connections?
how can i check if it doing the loop back?
how i can check if my user set as admin?
I don;t think your network is to blame for this, so don;t worry about the "loop-back" it should be there by default.

Just log-off and make sure when you log in you do so as administrator - if you found that your users were different, then try re-installing as administrator.
Avatar of sasha85

ASKER

nope...i got only one user=admin...
I'm stumped, sorry - I really don;t understand why u having such issues. Do you have another PC, maybe XP, where you can just do a test install and make sure you can get it running there? It should have the same steps involved, then you can just trace your steps back on the 2003 server...
Avatar of sasha85

ASKER

on the other pc's all working just great...:(
Avatar of sasha85

ASKER

i am installing mediawiki...
it asked me for user name and password for mysql..

i want to change the default wamp pass and username for mysql
(security reason)
and load them to the media wiki installation...

i checked the phpmyadmin, but i am kind of afraid to change there the username and the password
it may or may not effect on all wamp...i don;t know

what do i need to do?
I'm not sure if the Windows version of MySQL also has the mysqladmin command, but if it does, then that is the tool to use to change root passwords:

mysqladmin -u root password NEWPASSWORD (for a NEW password , ie, if you never did this before)

mysqladmin -u root -p oldpassword newpass (to CHANGE password)
Avatar of sasha85

ASKER

i played phpmyadmin a while and set a neww password for the root

now i got
"access denied for user 'root'@localhost'
using - #1045
password: no


it told me to go to config.inc.php and to change the passwords and usernames...
i  messed it all up and now i don't know what to do
reset password with mysqladmin as per my previous post, then edit config.inc.php in phpmyadmin folder - set authentication typ to "http" and only put "root" in the username, no password - it will make a pop-up window where you can then enter "root" and your password as set previously
Avatar of sasha85

ASKER

i don't understand you...can you be more specific?

i am now using phpmyadmin and not mysql admin...
Avatar of sasha85

ASKER

to late:)
i solved that one:)


i got now a new problem with mail settings...

when user trying to register
the media wiki shows:

"failed to connect to mailserver at "localhost" port 25
verify your smtp and smtp_port setting in php.ini() or use_ini_set

as a matter of fact i don;t have any idea where is set the mail and port...
ASKER CERTIFIED SOLUTION
Avatar of sasha85
sasha85

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial