Skip to content

feat: add support for scalingo-26#597

Draft
EtienneM wants to merge 7 commits into
masterfrom
feat/STORY-3771/scalingo-26
Draft

feat: add support for scalingo-26#597
EtienneM wants to merge 7 commits into
masterfrom
feat/STORY-3771/scalingo-26

Conversation

@EtienneM
Copy link
Copy Markdown
Member

No description provided.

@EtienneM EtienneM self-assigned this May 22, 2026
@notion-workspace
Copy link
Copy Markdown

@EtienneM EtienneM force-pushed the feat/STORY-3771/scalingo-26 branch from e4dc31d to c73ce92 Compare May 26, 2026 06:04
Comment thread conf/versions.sh
# PHP extensions versions
igbinary_version="3.2.16"
mongodb_version="1.21.0"
mongodb_version="2.3.3"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compilation failed for any 1.21.x versions on scalingo-26 with the error:

In file included from /tmp/phpmongodb_GulD/mongodb-1.21.0/src/phongo_bson.c:24:                                                                                                                                                                               
/tmp/phpmongodb_GulD/mongodb-1.21.0/src/contrib/php_array_api.h: In function 'php_array_zval_to_string':                                                                                                                                                      
/tmp/phpmongodb_GulD/mongodb-1.21.0/src/contrib/php_array_api.h:353:36: error: implicit declaration of function 'IS_INTERNED'; did you mean 'IS_STR_INTERNED'? [-Wimplicit-function-declaration]                                                              
  353 |                         *pfree = ! IS_INTERNED(Z_STR(c));                                                                                                                                                                                             
      |                                    ^~~~~~~~~~~                                                                                                                                                                                                        
      |                                    IS_STR_INTERNED                                                                                                                                                                                                    
make: *** [Makefile:1020: src/phongo_bson.lo] Error 1                                                                                                                                                                                                         

I updated to 2.3.3 and I uploaded version 2.3.3 for all PHP versions on all stacks.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mmh, issue with this is that 2.x comes with breaking changes, and we currently have no way to specify an extension version :-/
Seems like we'll have to:

  • Ship 2.x with scalingo-26
  • Ship 1.x with scalingo-24, and provide a way to specify an extension version quite soon.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of remember we had to work on this for the Redis extension. Don't we already have something in place to choose an extension for a version?

Copy link
Copy Markdown
Member Author

@EtienneM EtienneM May 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side note:

MongoDB 4.2+ Required: Future versions of the library will require MongoDB 4.2 or later. MongoDB 4.0 support is deprecated.

from https://github.com/mongodb/mongo-php-driver/releases/tag/2.0.0

And

support for MongoDB 4.0 has been removed

from https://github.com/mongodb/mongo-php-driver/releases/tag/2.1.0

Hence I need to stick with v2.0.0

Comment thread support/get_tidy Outdated
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread support/ext-internal/tidy
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants