Xampp là 1 gói cài đặt có sẵn apache, mysql, php và nhiều tiện ích khác giúp bạn có thể setup 1 webserver 1 cách nhanh chóng. Do tính dễ dàng trong cài đặt, đầy đủ chức năng và thường xuyên cập nhật các phiên bản mới của php, apache, mysql... nên xampp là 1 trong số những bộ cài đặt tích hợp được sử dụng nhiều nhất.

    Download xampp mới nhất

    Bản Xampp trên windows đã được cài sẵn các thành phần sau

    Apache 2.4.4
    MySQL 5.6.11
    PHP 5.5.3
    phpMyAdmin 4.0.4
    FileZilla FTP Server 0.9.41
    Tomcat 7.0.42 (with mod_proxy_ajp as connector)
    Strawberry Perl 5.16.3.1 Portable
    XAMPP Control Panel 3.2.1 (from hackattack142)


    Trên windows mặc định xampp sẽ cài vào thư mục C:\xampp nếu bạn không thay đổi trong quá trình cài.
    Thư mục chứa code web sẽ là C:\xampp\htdocs
    User/pass MySQL mặc định là: root (không có mật khẩu)

    Các bạn hãy tải Microsoft Visual C++ 2008 Redistributable package ở link sau về cài trước khi cài xampp để tránh bị lỗi

    Lỗi khi máy chưa cài Visual C++ 2008 Redistributable package
    Link dự phòng : http://adf.ly/1FXstr


    Ở bảng điều khiển này, các bạn có thể lựa chọn khởi động webserver và mysql server theo cách sau là tốt nhất


    Bây giờ, các bạn mở trình duyệt lên và gõ vào địa chỉ http://localhost/ , Nếu thấy kết quả như sau thì các bạn đã thành công hoàn toàn


    Nếu bạn muốn tạo database, hãy vào địa chỉ http://localhost/phpmyadmin/ và đăng nhập với tài khoản "root" và password là trống




    Bản xampp trên linux được cài mặc định vào /otp/lampp/
    Để điều khiển xampp trên linux ta dùng lệnh

    /opt/lampp/lampp Lệnh

    Lệnh có thể là các lệnh sau

    startStarts XAMPP.
    stopStops XAMPP.
    restartStops and starts XAMPP.
    startapacheStarts only the Apache.
    startsslStarts the Apache SSL support. This command activates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay activated.
    startmysqlStarts only the MySQL database.
    startftpStarts the ProFTPD server. Via FTP you can upload files for your web server (user "nobody", password "lampp"). This command activates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay activated.
    stopapacheStops the Apache.
    stopsslStops the Apache SSL support. This command deactivates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay deactivated.
    stopmysqlStops the MySQL database.
    stopftpStops the ProFTPD server. This command deactivates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay deactivated.
    securityStarts a small security check programm.





    Chia Sẻ:
    Magpress

    MagPress

    Vestibulum bibendum felis sit amet dolor auctor molestie. In dignissim eget nibh id dapibus. Fusce et suscipit orci. Aliquam sit amet urna lorem. Duis eu imperdiet nunc, non imperdiet libero.

    0 comments so far,add yours

    Cám ơn đã ghé thăm BlogCNTT!
    - Mọi thắc mắc, gợi ý hoặc bình luận xin chia sẻ bên dưới hoặc Liên Hệ
    - Hãy viết bằng tiếng Việt có dấu để mọi người dễ đọc hơn!
    Thank You!