Skip to content

Undefined symbol PsrHttpMessageUriInterface_ce_ptr with PHP8.0, but PHP7.4 works... (Setting up Phalcon 5.0.0-alpha with Docker Compose) #15535

Answered by aircodepl
aircodepl asked this question in Q&A
Discussion options

You must be logged in to vote

Hi and I'm really sorry - I thought that I removed this topic after I realized it's because of PSR being loaded after Phalcon.

Yes, week or two ago I did manage to install Phalcon 5 with Dockerimage and did it with similar to niden (but pathetic) trick:

# Rename config file
RUN mv '/usr/local/etc/php/conf.d/docker-php-ext-psr.ini' '/usr/local/etc/php/conf.d/docker-php-ext-phalcon-psr.ini'

I renamed ini file of PSR to be alphabetically loaded before. lol

Here is the whole Dockerfile script:
https://github.com/aircodepl/phalcon-5-dockerfile/blob/master/Dockerfile

Of course, if anyone want to check it out, you need to keep in mind that I suck at setting up environments, especially docker. D…

Replies: 5 comments

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

niden
Sep 5, 2021
Maintainer Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Jeckerson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants