Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP requirement incompatible #21

Open
taffners opened this issue Mar 23, 2021 · 2 comments
Open

PHP requirement incompatible #21

taffners opened this issue Mar 23, 2021 · 2 comments

Comments

@taffners
Copy link

Can you help me with the install of PDFLib? I'm getting an error related to my PHP version but the error does not provide enough info to fix my PHP version.

$ composer.phar require imal-h/pdf-box

[InvalidArgumentException]
Package imal-h/pdf-box has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version

Here's info on my ghostscript install.

$ yum info ghostscript
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Installed Packages
Name : ghostscript
Arch : i686
Version : 9.25
Release : 5.el7
Size : 133 k
Repo : installed
From repo : rhel-7-server-rpms
Summary : Interpreter for PostScript language & PDF
URL : https://ghostscript.com/
License : AGPLv3+
Description : This package provides useful conversion utilities based on Ghostscript software,
: for converting PS, PDF and other document formats between each other.
:
: Ghostscript is a suite of software providing an interpreter for Adobe Systems'
: PostScript (PS) and Portable Document Format (PDF) page description languages.
: Its primary purpose includes displaying (rasterization & rendering) and printing
: of document pages, as well as conversions between different document formats.

Name : ghostscript
Arch : x86_64
Version : 9.25
Release : 5.el7
Size : 150 k
Repo : installed
From repo : rhel-7-server-rpms
Summary : Interpreter for PostScript language & PDF
URL : https://ghostscript.com/
License : AGPLv3+
Description : This package provides useful conversion utilities based on Ghostscript software,
: for converting PS, PDF and other document formats between each other.
:
: Ghostscript is a suite of software providing an interpreter for Adobe Systems'
: PostScript (PS) and Portable Document Format (PDF) page description languages.
: Its primary purpose includes displaying (rasterization & rendering) and printing
: of document pages, as well as conversions between different document formats.

@geek5
Copy link

geek5 commented Mar 23, 2021

you must have php version higher or equal to 5.5.0
make in your cli this command php -v to check your installed php version

@taffners
Copy link
Author

Thank you for the speedy reply. Yes that is the problem. I have php 5.4. Thank you.

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

No branches or pull requests

2 participants