Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Your Composer dependencies require the following PHP extensions to be installed 2 weeks 5 days ago #1

  • Lat
  • Lat's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
After manual upgrade from 1.7.18 to 2.0.14 my site not working. I have a message "Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: intl".
Any suggestions?

Please Log in or Create an account to join the conversation.

Your Composer dependencies require the following PHP extensions to be installed 2 weeks 5 days ago #2

You'll need to activate the intl extension in your php.ini (I think it is part of the default php install on most systems).

Please Log in or Create an account to join the conversation.

Last edit: by yann64.

Your Composer dependencies require the following PHP extensions to be installed 2 weeks 5 days ago #3

  • Lat
  • Lat's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
OK, not only. I had to install the php-intl module (sudo apt install php-intl).
Thanks.

Please Log in or Create an account to join the conversation.

Your Composer dependencies require the following PHP extensions to be installed 2 weeks 4 days ago #4

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 14403
> After manual upgrade from 1.7.18 to 2.0.14 my site not working. I have a message "Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: intl".

The stable releases of webtrees already include the "vendor" folder. So it is not necessary to run `composer install --no-dev`.

You only need to use composer if you are installing from the source code using `git clone`.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Your Composer dependencies require the following PHP extensions to be installed 2 weeks 4 days ago #5

  • ric2015
  • ric2015's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 239

fisharebest wrote: So it is not necessary to run `composer install --no-dev`.


No, I had the same issue when using the release zip. The error message comes up via the file 'webtrees\vendor\composer\platform_check.php'. If the respective lines are removed there (e.g. 'extension_loaded('intl') || $missingExtensions[] = 'intl';'), the release works even if 'intl' isn't installed.

This check for missing extensions via composer may be included unintentionally? Anyway it wasn't included in earlier releases, and webtrees itself also still checks for extensions such as 'intl', and generates warnings in the control panel ('The PHP extension “intl” is not installed.') - That seems redundant now.
Richard

webtrees 2.0.15 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4Webtrees, Shared Places, Extended Relationships) available at cissee.de

Please Log in or Create an account to join the conversation.

Your Composer dependencies require the following PHP extensions to be installed 2 weeks 4 days ago #6

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 14403
> This check for missing extensions via composer may be included unintentionally?

It seems that composer was not correctly processing the "platform-check" option.

getcomposer.org/doc/06-config.md#platform-check

I just updated to the latest version, and now it is only checking for the minimum PHP version (as expected).
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Your Composer dependencies require the following PHP extensions to be installed 1 week 6 days ago #7

  • ragbraidude
  • ragbraidude's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 1
I too just did a manual upgrade for 1.7.18 to 2.0.14 (had the same issue when using the release zip). I removed there (e.g. 'extension_loaded('intl') || $missingExtensions[] = 'intl';'), the release works.

Please Log in or Create an account to join the conversation.

Your Composer dependencies require the following PHP extensions to be installed 1 week 3 days ago #8

Après avoir expérimenté plusieurs solutions plus ou moins compliquées trouvées sur ce site, l'unique solution très simple et efficace pour QNap est décrite ici :

anjoco.ch/forum/viewtopic.php?f=42&t=1143

Please Log in or Create an account to join the conversation.

Last edit: by anjoco.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 
  • Page:
  • 1
Powered by Kunena Forum