Friday, 18 November 2011

Starting XAMPP server on Ubuntu Linux

To start XAMPP server on Ubuntu Linux follow the below steps


After installing xampp on Linux or Ubuntu
1.Open the Terminal

2.Execute this command "/opt/lampp/lampp start "

Once this command is run First server(apache) would be started then SQL,FTP  would be started After than ,Check it in your browser by typing http://localhost/


Connected to Internet but browser won't work

Sometimes you may be connected to internet but your browser won’t work

To solve this issue, Follow these steps

a)You have to un-install any ad-ware software

b)You have to run these commands in “CMD” (Command prompt)

c)Resetting WinSock and TCP/IP to defaults: TCP/IP stack repair options for use with Windows XP with SP2.* * For these commands, *Start,Run, CMD, OK* to open a command prompt. 

d)Reset WINSOCK entries to installation defaults: netsh winsock reset catalog Type this in command prompt and press enter 

e)Reset TCP/IP stack to installation defaults. *netsh int ip reset reset.log* Type this in command promt and press enter Now again connect to internet it would work now.

Restarting XAMPP Apache server using command prompt

To restart the XAMPP service using command prompt simply follow the below steps

Steps:
1.Go to the directory where you have installed XAMPP (C:\Program Files\xampp\)

2. To start or stop the apache server,Click on apache_start.cmd or apache_stop.cmd 

To do it from the command prompt
1.Open command prompt 

2.Go the folder where you have installed command prompt 

3.Run 'apache_start.cmd' for starting the apache and 'apache_stop.cmd' for stopping the apache