Re: Composer installation problem

19 views
Skip to first unread message

Osma Suominen

unread,
Oct 22, 2024, 3:08:46 AM10/22/24
to skosmo...@googlegroups.com
Hello Omid,

the problem is that you are using PHP 7.4, but Skosmos 2.18 no longer
supports this version (the cause of this change is that we had to
upgrade the EasyRdf library to fix important bugs, and it dropped
support for PHP 7.x in recent releases).

This is mentioned on the Upgrading page:
https://github.com/NatLibFi/Skosmos/wiki/Upgrading#from-skosmos-217-to-218

So you will need to upgrade to either PHP 8.0 or PHP 8.1 before you can
install Skosmos 2.18.

-Osma


On 16/10/2024 12:03, Omid Ghiasvand wrote:
> Dear all,
>
> I am trying to install  php cmposer.phar install --no-dev  , but I get
> the following error:
>
> Your requirements could not be resolved to an installable set of packages.
>
>   Problem 1
>     - Root composer.json requires sweetrdf/easyrdf 1.13.* ->
> satisfiable by sweetrdf/easyrdf[1.13.0, 1.13.1].
>     - sweetrdf/easyrdf[1.13.0, ..., 1.13.1] require php ^8.0 -> your
> php version (7.4.3) does not satisfy that requirement.
>
> I also tried php cmposer.phar install --ignore-platform-req=php , it
> seems installs the composer, but the Skosmos webpage does not appear.
> Also php cmposer.phar update shoots me same error.
>
> I removed everything and installed again, but same problem. It is
> greatly appreciated if someone could help.
>
> Bests,
>
> --
> You received this message because you are subscribed to the Google
> Groups "Skosmos Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to skosmos-user...@googlegroups.com
> <mailto:skosmos-user...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/skosmos-users/78a745b7-2e17-4e95-8bcd-c9df592315c1n%40googlegroups.com <https://groups.google.com/d/msgid/skosmos-users/78a745b7-2e17-4e95-8bcd-c9df592315c1n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 15 (Unioninkatu 36)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.s...@helsinki.fi
http://www.nationallibrary.fi
Reply all
Reply to author
Forward
0 new messages