Skip to content

Undefined constant AMQP_NOPARAM in AmqpStamp #54761

Closed Answered by musahcoding
musahcoding asked this question in Q&A
Discussion options

You must be logged in to vote

Hi 👋 I found the issue finally 🎉

TLDR:
When I upgraded the PHP version of server from 8.2 to 8.3, I did not purge the php8.2* packages by running sudo apt purge php8.2*. Doing so fixed my problem of undefined AMQP_NOPARAM


Details:

I was working with one of the old images of the server, and I noticed that it runs on an out dated version of PHP 8.2, where the server runs on PHP 8.3, so I did:

sudo apt update
sudo apt upgrade -y

And now I had:

$ php -v
PHP 8.3.9 (cli) (built: Jul  5 2024 12:03:46) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.9, Copyright (c) Zend Technologies
    with Zend OPcache v8.3.9, Copyright (c), by Zend Technologies

But then the deployment failed again with …

Replies: 21 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@musahcoding
Comment options

@discordier
Comment options

@musahcoding
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by musahcoding
Comment options

You must be logged in to vote
1 reply
@musahcoding
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
4 participants
Converted from issue

This discussion was converted from issue #54682 on April 29, 2024 09:41.