Skip to content

Installing PHP8.4 in latest Nginx Unit 1.34.2 installation #1582

Answered by ac000
zafar-2020 asked this question in Support
Discussion options

You must be logged in to vote

Here's one way to do it, though it's a little involved.

Another way is to just do a normal build from source.

You wouldn't need to do all that, just configure and build unit, don't think it matters how you do it in this case, just a ./configure && make -j4 should do Then you can configure and build the php language module, you probably want to give it a name like php8.4. You may also need to specify the location of the PHP 8.4 config script and libraries E.g.

$ ./configure php --module=php8.4  \
                  --config=/usr/lib64/php8.4/bin/php-config  \
                  --lib-path=/usr/lib64/php8.4/lib64

Adjust paths as necessary.

Then if that builds OK, you can copy build/lib/unit/m…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@zafar-2020
Comment options

@zafar-2020
Comment options

@zafar-2020
Comment options

@ac000
Comment options

ac000 Mar 26, 2025
Collaborator

Answer selected by ac000
@thresheek
Comment options

@zafar-2020
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1581 on March 25, 2025 21:51.