System Tutorials
  • Linux Commands
  • Linux Tutorials
  • WordPress
    • Bảo mật WordPress
    • Tăng tốc WordPress
  • Docker
  • Kubernetes
  • Series
    • Linux căn bản
    • Kubernetes thực chiến
    • Tools
No Result
View All Result
  • Linux Commands
  • Linux Tutorials
  • WordPress
    • Bảo mật WordPress
    • Tăng tốc WordPress
  • Docker
  • Kubernetes
  • Series
    • Linux căn bản
    • Kubernetes thực chiến
    • Tools
No Result
View All Result
System Tutorials
No Result
View All Result

Hướng dẫn nâng cấp PHP version 7.4 cho directAdmin Panel

Quốc CườngbyQuốc Cường
April 25, 2025
inControl Panel
0
Table of Contents

    DirectAdmin hỗ trợ chúng ta 2 phiên bản php song song rất tiện lợi cho người dùng, chúng ta có thể nâng cấp php version hoặc hạ cấp tùy ý theo nhu cầu.

    Hướng Dẫn Nâng Cấp PHP Version 7.4 Cho DirectAdmin Panel

    Để làm được điều đó các bạn hãy theo dõi bài hướng dẫn sau:

    Nâng cấp PHP version

    Custombuild 2.0

    Đối với VPS sử dụng công cụ custombuild 2.0 các bạn làm như sau:

     cd /usr/local/directadmin/custombuild
    ./build set php1_release 7.4 # điền version php mà bạn muốn setup
    ./build update
    ./build php n
    ./build rewrite_confs 

    Note: custombuild 2.0 chỉ hỗ trợ PHP từ version 5.3 hoặc phiên bản cao hơn.

    Custombuild 1.x

    Nếu bạn đang chạy php 5.2 bằng cli hoặc cgi (suphp) và muốn 5.3 thay vào đó, bạn có thể làm như vậy với các lệnh sau:

    cd /usr/local/directadmin/custombuild 
    ./build set php5_ver 5.3
    ./build update
    ./build php n
    ./build Rewrite_confs

    Hạ cấp PHP version

    Làm tương tự như bước nâng cấp nhưng với php1_release là phiên bản PHP thấp hơn.

    Kết luận

    Lưu ý rằng có những thay đổi giữa các phiên bản này và không phải tất cả các tập lệnh sẽ tương thích 100%. Xem hướng dẫn di chuyển để biết thông tin về những gì đã thay đổi và nếu có bất kỳ hành động nào khác được yêu cầu từ phía bạn.

    Chúc các bạn thành công.

    Tags: control paneldirectadminhostinghosting panelphp
    Previous Post

    Khắc phục lỗi: Can’t read ticket list trên DirectAdmin

    Next Post

    Fix xfs quota: cannot set limits: Function not implemented on DirectAdmin

    Next Post
    Fix xfs quota: cannot set limits: Function not implemented on DirectAdmin

    Fix xfs quota: cannot set limits: Function not implemented on DirectAdmin

    Chuyên mục

    • Bảo mật WordPress (1)
    • Bash Shell (1)
    • Control Panel (32)
    • cPanel (2)
    • DevOps (1)
    • Kiến thức cơ bản (6)
    • Linux Commands (5)
    • Linux Tutorials (24)
    • Security (4)
    • Tin tức (1)
    • Virtualization (1)
    • VMware (1)
    • Windows (4)
    • WordPress (2)

    Tags

    CentOS 7centos7control panelcpanelCSFcyberpaneldatabaseDatabasesdevopsdirectadmindockerhostinghosting panelHTTPSkienthucLet's EncryptLinuxlinux commandsLinux HostingLinux tricksMail ServerMariaDBMySQLNetworkingnetworksphpPleskProgramingPuTTYsecuritySMTP RelaySpeedtestSSHSSLssl/tlsubuntuUbuntu 20.04unixVMwareVMware WorkstationWindowswindows hostingwordpressZabbixzimbra
    System Tutorials

    SysTuts – Blog chia sẻ kiến thức Linux, Kubernetes, DevOps, CI/CD, Git và Automation. Hướng dẫn thực hành chi tiết, dễ áp dụng cho SysAdmin & DevOps.

    Tôi có thể giúp bạn

    • Quản trị máy chủ
    • Xử lý mã độc WordPress

    Bạn bè của tôi

    • Đỗ Trung Quân
    • Đàm Trung Kiên
    • Điều khoản sử dụng
    • Chính sách & Quyền riêng tư

    © 2025 Systuts - Blog chia sẻ kiến thức hệ thống.

    No Result
    View All Result
    • Linux Commands
    • Linux Tutorials
    • WordPress
      • Bảo mật WordPress
      • Tăng tốc WordPress
    • Docker
    • Kubernetes
    • Series
      • Linux căn bản
      • Kubernetes thực chiến
      • Tools

    © 2025 Systuts - Blog chia sẻ kiến thức hệ thống.