Zaloguj | Zarejestruj | FAQ
Anonymous

working with XAMPP

+ Odpowiedz

Posty: 2 Strona 1 z 1


working with XAMPP

przez olamulekan » Cz kwi 03, 2014 9:50 pm

Thanks for your previous replied, I don't have a hosted site for and I am really working with XAMPP. My concern is can I create username., password etc just de way I will do it in host database, if not how can I effectively work with local host. All my efforts are not yielding for now.
Avatar użytkownika

olamulekan

  • Posty: 7
  • Dołączył(a): Cz mar 20, 2014 4:20 pm

Re: working with XAMPP

przez XainPro » Pt kwi 04, 2014 7:11 am

Apache and MySQL can be configured so that they only listen to requests from your own computer. For most test systems this is fine and it greatly reduces the risk because the services are not reachable from the Internet.

Before you start XAMPP for the first time find and edit these files:

For Apache edit the files xampp\apache\conf\httpd.conf and xampp\apache\conf\extra\httpd-ssl.conf. Look for lines starting with "Listen" such as

Listen 80

and replace them with

Listen 127.0.0.1:80

For MySQL open the file xampp\mysql\bin\my.cnf find the section "[mysqld]" and add this line

bind-address=localhost

After starting the services, verify the result by going to a command window and start and execute:

netstat -a -n

For the entries marked as LISTEN in the last column, look at the Listen column. It should always start with 127.0.0.1 or ::1 but not with 0.0.0.0.
Avatar użytkownika

XainPro

  • Posty: 3933
  • Dołączył(a): Pt lut 17, 2012 8:10 pm


+ Odpowiedz

Strona 1 z 1