Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Install php8.3 on server but Unit-PHP install php8.4 #1596

Description

@MrSipping

Bug Overview

hello everyone, let me show you how I install unit-php and cannot understand why it now installs the php8.4 version and why a configuration file I have always used no longer works

Ubuntu 24.04:

After this step, install php8.4, which might work for me, but I do not understand why the following configuration should not work if it has worked so far

{
"listeners": {
"127.0.0.1:8080": {
"pass": "applications/test"
}
},

"applications": {
"test": {
"type": "php",
"root": "/web/http/test/",
"options": {
"admin": {
"memory_limit": "32M",
"variables_order": "EGPCS",
"expose_php": "0",
"zlib.output_compression": "0",
"zlib.output_compression_level": "-1",
"post_max_size": "32M",
"upload_max_filesize": "16M",
"max_execution_time": "60",
"max_input_time": "60",
"default_socket_timeout": "120"
},

    "user": {
        "display_errors": "0"
    }
 }
}

}
}

Does anyone have any ideas or can give me any advice? Thanks for your help

Expected Behavior

I expect that since I have installed php8.3 on my server he will use this version... no harm done if he were to use 8.4, but the problem is that with this version the configuration I presented does not start unless I put the empty options variable

Steps to Reproduce the Bug

u can follow my description

Environment Details

  • Target deployment platform: [local]
  • Target OS: [Ubuntu 24.04]
  • Version of this project or specific commit: [lts]
  • Version of any relevant project languages: [php8.3]

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions