Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Hello, can you tell me how to compile v8js? #112

Closed
54huige opened this issue Aug 16, 2018 · 3 comments
Closed

Hello, can you tell me how to compile v8js? #112

54huige opened this issue Aug 16, 2018 · 3 comments
Labels

Comments

@54huige
Copy link

54huige commented Aug 16, 2018

Hello, can you tell me how to compile v8js?

@pinepain
Copy link
Member

Hi, sorry php-v8 and v8js are different extensions, so I'm not quite good with v8js building process, however it Dockerfile.travis demonstrates how to build extension.

@54huige
Copy link
Author

54huige commented Aug 16, 2018

Excuse me? php-v8. How to compile on Windows? his demand is very strong.

@pinepain
Copy link
Member

php-v8 doesn't officially support Windows and I've never had it working there. In short, you need to compile libv8 there first and then php-v8 itself. Honestly, I'm not a Windows user so I can't provide any further guidance how to compile extension there. It should be like other php extensions, I guess, however, as said before, php-v8 was written without windows support in mind, so even if you find out how to build it, be aware that it may fail because of some incompatibility, if any. Good luck with that! Feels free to write back with your outcome.

Also, if it's feasible, you may try to run php-v8 in docker even on windows, sure, if your use case match this flow.

Cheers!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants