Skip to content

[Feature] Avoid generating index.php when index.html already exists in PHP websites #14261

Open

Description

@yangyongyy55

1Panel Version

2.4.2

Please describe your needs or suggestions for improvements

创建或修改php网站时,如果存在index.html建议不要自动生成index.php(入口文件是index.html,老是会自动生成index.php)

Please describe the solution you suggest

No response

Additional Information

No response

Activity

  1. changed the title [-][Feature][/-] [+][Feature]创建或修改PHP网站时,当存在index.html文件,建议不要自动生成index.php[/+] on Oct 31, 2026
  2. wanghe-fit2cloud commented on Nov 2, 2026

    @wanghe-fit2cloud
    Member

    感谢反馈。已有 index.html 或者 index.htm 时不再自动生成 index.php,仅在都没有入口文件时才生成,这样调整是否符合你的实际使用场景?

  3. changed the title [-][Feature]创建或修改PHP网站时,当存在index.html文件,建议不要自动生成index.php[/-] [+][Feature] Avoid generating index.php when index.html already exists in PHP websites[/+] on Nov 2, 2026
  4. yangyongyy55 commented on Nov 2, 2026

    @yangyongyy55
    Author

    3. 感谢反馈。已有 index.html 或者 index.htm 时不再自动生成 index.php,仅在都没有入口文件时才生成,这样调整是否符合你的实际使用场景?

    是这样逻辑,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions