Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Compatible with PHP versions 7.4? -> error #29

Answered by the-csaba
philippehenri asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @philippehenri ,

It appears you are having trouble installing the Tectalic OpenAI PHP SDK with Composer due to PHP version compatibility issues. According to your error log, your current PHP version is 7.4.33, compatible with the Tectalic OpenAI PHP SDK.

However, it seems like there might be confusion between two different packages.

Please try to install tectalic/openai, which should be compatible with your PHP version.

Here's what you can do:

  1. Run composer clear-cache to clear your composer cache.
  2. Ensure that openai-php/client is not listed in your composer.json file; if it is, remove it.
  3. Run composer update to ensure all your existing dependencies are up to date.
  4. Finally, try running c…

Replies: 1 comment

Comment options

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