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

DirectAdmin – Access to the script ‘/home/…/index.phtml’ has been denied (see security.limit_extensions)

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

    Log lỗi hiển thị:

    Access to the script '/home/domain/domains/domain.com/public_html/index.phtml' has been denied (see security.limit_extensions)

    Cách fix:

    Xác định phiên bản php mà website đang chạy. Ví dụ ở đây website mình đang chạy phiên bản php-fpm 5.6

    Chỉnh sửa php-fpm56.conf như sau, thay [username] bằng tên user trên VPS của bạn:

    vi /usr/local/directadmin/data/users/[username]/php/php-fpm56.conf

    Tiến hành thêm đuôi .phtml vào sau đó save lại.

    has been denied (see security.limit_extensions)

    Restart php-fpm

    Lưu ý: do php của mình là php-fpm56 nên cú pháp sẽ như bên dưới.

    systemctl restart php-fpm56

    Trong trường hợp các bạn dùng phiên bản php-fpm khác các bạn chỉ cần thay php-fpm[56] bằng phiên bản php của các bạn, ví dụ: php-fpm 7.4 có cú pháp như sau.

    systemctl restart php-fpm74

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

    Tags: directadmin
    Previous Post

    Cài đặt CSF trên Directadmin

    Next Post

    Hướng Dẫn Bảo Mật Website WordPress: Hiệu Quả và Dễ Hiểu

    Next Post
    Hướng Dẫn Bảo Mật Website WordPress: Hiệu Quả và Dễ Hiểu

    Hướng Dẫn Bảo Mật Website WordPress: Hiệu Quả và Dễ Hiểu

    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.