Skip to content

Conversation

@QuentinEscudierScalingo
Copy link
Contributor

@QuentinEscudierScalingo QuentinEscudierScalingo commented Jan 23, 2023

What has been done:

  • Installation of libaio via the APT builpack
  • Installation of the oracle client in the vendor folder

What's left to do:

  • Cache oracle client download and APT buildpack clone
  • Warning raised at build time for libaio should be fixed

Fix #290

@QuentinEscudierScalingo QuentinEscudierScalingo force-pushed the feat/290/support_oci8_extension branch 2 times, most recently from 08c2a5f to bf775b0 Compare January 23, 2023 10:28
@QuentinEscudierScalingo
Copy link
Contributor Author

A php sample that install oci8: https://github.com/QuentinEscudierScalingo/sample-php

Copy link
Member

@Soulou Soulou left a comment

Choose a reason for hiding this comment

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

In your example app, you have

https://github.com/QuentinEscudierScalingo/sample-php/blob/master/Aptfile#L1

Is it mandatory here?

If yes, the buildpack should check the presence of the library and fails with the right instruction if it's not present.

@QuentinEscudierScalingo
Copy link
Contributor Author

The lib libaio1 is mandatory, I will add a manual check for this.

@QuentinEscudierScalingo QuentinEscudierScalingo force-pushed the feat/290/support_oci8_extension branch 4 times, most recently from 47db099 to 651aee7 Compare January 24, 2023 17:43
…ibaio installed via apt buildpack

libaio and oracle-client must be cached to avoid download at each deploy
@QuentinEscudierScalingo QuentinEscudierScalingo force-pushed the feat/290/support_oci8_extension branch from 651aee7 to 1ee469d Compare January 25, 2023 09:38
@QuentinEscudierScalingo QuentinEscudierScalingo changed the base branch from fix/249/pecl_extensions to master January 25, 2023 09:58
@QuentinEscudierScalingo QuentinEscudierScalingo changed the base branch from master to fix/249/pecl_extensions January 25, 2023 11:45
@Soulou Soulou merged commit d253f4d into fix/249/pecl_extensions Jan 26, 2023
@Soulou Soulou deleted the feat/290/support_oci8_extension branch January 26, 2023 17:31
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.

[PECL Extension] Support oci8 extensions

3 participants