XAMPP

928 views
835 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
928
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

XAMPP

  1. 1. XAMPP   Jussi  Pohjolainen  
  2. 2. XAMPP   •  Free  and  open  source  web  server  solu9on   stack   – Apache,  MySql,  PHP  and  Perl   •  Requires  only  one  zip  and  it's  self  contained   •  Officially  intended  only  for  development   •  Lot  of  other  stacks  available  too   – hIp://en.wikipedia.org/wiki/ Comparison_of_WAMPs  
  3. 3. Install   •  Just  download  and  install   •  In  Windows,  set  paths   –  c:xamppphp   –  c:xamppmysqlbin   •  Install  phpdoc   –  pear channel-discover pear.phpdoc.org –  pear install phpdoc/phpDocumentor-alpha •  Install  phpunit   –  pear config-set auto_discover 1 –  pear install pear.phpunit.de/PHPUnit
  4. 4. Star9ng  and  Tes9ng   •  Just  open  XAMPP  Control  Panel  and  start  the   services  you  want   –  Apache   –  MySQL   –  ..   •  Open  browser:  hIp://localhost/   •  Add  folder  to  xampp  /  htdocs  /  xampp  /  test   –  And  put  some  file:  index.html   •  Open  browser  again:  hIp://localhost/xampp/ test/  
  5. 5. MySQL   •  Log  in  as  root   – mysql  –u  root   •  show  databases;   •  create  database  mytest;   •  use  mytest;   •  …  

×