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

install on windows #4

Closed
ilhamiarie opened this issue Dec 19, 2015 · 16 comments
Closed

install on windows #4

ilhamiarie opened this issue Dec 19, 2015 · 16 comments

Comments

@ilhamiarie
Copy link

how do I install this application on windows 7 ? thanks for the solution

@mgp25
Copy link
Owner

mgp25 commented Dec 19, 2015

Sorry, i don't how how to compile extension in windows, but i suppose you will find any guide in google.

Regards

@Gielert
Copy link

Gielert commented Jan 4, 2016

I've compiled them for you guys. The zip contains both the Thread safe and non-Thread safe version. The binaries are compiled for PHP 5.6 x86.

You can download them here:
https://www.dropbox.com/s/8vlxu7ensto1q6n/curve25519-php_x86.zip?dl=0

Here is the virustotal: https://www.virustotal.com/en/file/5ced36f5b30f2fd8841bd9bc5e6cb7874e2c8f71416c50edb93daf76fecee46e/analysis/1451938278/
The SHA256 is: 5ced36f5b30f2fd8841bd9bc5e6cb7874e2c8f71416c50edb93daf76fecee46e

@mgp25
Copy link
Owner

mgp25 commented Jan 4, 2016

@Gielert thats awesome, i'll add it. If you don't mind, can you compile the php protobuf extension too?
https://github.com/allegro/php-protobuf

Thanks

Regards

@Gielert
Copy link

Gielert commented Jan 5, 2016

@mgp25 Already did that :D

allegro/php-protobuf#4

@ilhamiarie
Copy link
Author

@Gielert thanks a lot.

@mgp25
Copy link
Owner

mgp25 commented Jan 5, 2016

@Gielert Thanks, I owe you one! 😄

@mgp25 mgp25 closed this as completed Jan 5, 2016
@arhakim
Copy link

arhakim commented Feb 17, 2016

@Gielert I got this message when run php -v in command line windows:

C:\xampp\php>php -v
PHP Warning:  PHP Startup: curve25519: Unable to initialize module
Module compiled with build ID=API20131226,NTS,VC11
PHP    compiled with build ID=API20131226,TS,VC11
These options need to match
 in Unknown on line 0

Warning: PHP Startup: curve25519: Unable to initialize module
Module compiled with build ID=API20131226,NTS,VC11
PHP    compiled with build ID=API20131226,TS,VC11
These options need to match
 in Unknown on line 0
PHP 5.6.12 (cli) (built: Aug  6 2015 12:06:20)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

Did you know how to resolve it?

Thanks

@sgatu
Copy link
Collaborator

sgatu commented Mar 2, 2016

@arhakim As you can see in the error, you installed the NTS version on a TS PHP, in the dropbox link, you have two dll one NTS and the other TS. You have to copy the TS version in your php folder instead of the NTS.

@yashrs
Copy link

yashrs commented Mar 28, 2016

@Gielert If you could please tell, how did you compile that ? Could you send in some sort of small tutorial or steps for the same pleaseeee ? Because I need to compile it for x64 !

@yashrs
Copy link

yashrs commented Mar 28, 2016

@Gielert I get the following error -

PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.4.12/ext/php_curve25519_nts.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.4.12/ext/php_protobuf_nts.dll' - %1 is not a valid Win32 application.
in Unknown on line 0

@dswtech
Copy link

dswtech commented May 23, 2016

@Gielert would you mind compile it for x64 ?

@Gielert
Copy link

Gielert commented May 23, 2016

@dswtech Sure thing

https://www.dropbox.com/s/1j7fnkzk53wlfoa/curve25519-php_x64.zip?dl=0
The zip contains both the Thread-safe and the Non Thread-safe.

Here's the virustotal:
https://www.virustotal.com/nl/file/d5788f87e16e7a75ee06cd9d0fc1c9726058fd702b9638d603fed6df65144104/analysis/1464036132/

sha256: d5788f87e16e7a75ee06cd9d0fc1c9726058fd702b9638d603fed6df65144104

@dswtech
Copy link

dswtech commented May 24, 2016

Thx @Gielert maybe @mgp25 will add to git along with protobuf x64 compiled by @Gielert which is posted here allegro/php-protobuf#56

https://www.dropbox.com/s/lfhox1rm80xidw6/php-protobuf_x64.zip?dl=0

@Jnsa
Copy link

Jnsa commented Aug 22, 2017

I have the same problem of @yashrs i already try x86 and x64, ts and nts on xampp and i get the same error in any cases. Pls Help!

@Gielert
Copy link

Gielert commented Aug 25, 2017

@Jnsa Which PHP version are you on?

@Jeffrey-Kimani
Copy link

I am running the binaries and i keep an error

PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_protobuf_nts.dll' - The specified module could not be found.

But the module is already in the specified directory. I am running php 7.1.12 on windows. Please help

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

9 participants