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

Can't run lpsolve #2

Open
iliasvlachos opened this issue Jul 12, 2020 · 1 comment
Open

Can't run lpsolve #2

iliasvlachos opened this issue Jul 12, 2020 · 1 comment

Comments

@iliasvlachos
Copy link

iliasvlachos commented Jul 12, 2020

I know my problem is not for this package but it seems this is the only place to ask so please help me if you can.

I am trying to use the lpsolve package and I am getting the following error.

composer require makao/lpsolve
Using version dev-master for makao/lpsolve
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for makao/lpsolve dev-master -> satisfiable by makao/lpsolve[dev-master].
- makao/lpsolve dev-master requires ext-lpsolve >=5.5.0.8 -> the requested PHP extension lpsolve is missing from your system.

To enable extensions, verify that they are enabled in your .ini files:
- C:\xampp\php\php.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

Installation failed, reverting ./composer.json to its original content.

So I am missing the lpsolve extension. I have downloaded the dll file, placed it in the xampp php extensions folder and included in the php.ini file. But it's not working at all.
Any help would be much appreciated

@makao
Copy link
Owner

makao commented Jul 14, 2020

Can't help I've never used it on Windows, I've used PHP7 fork from here: https://github.com/myfarms/php_lp_solve

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