Open apnakahata opened 1 year ago
I haven't tried building the extension on Windows but I know that it works. Please see this thread and see if it helps you:
Thanks for your response. I have already gone through these. As per I know, to build a PHP extension in Windows, a configuration file named config.w32 is needed in the root folder, but this repo doesn't have one and unfortunately I am unable to generate a correct config.w32.
I will be really grateful if anyone provide me precompiled windows builds (php_swephp.dll) just like swephp.so is available to download
Have you read through these docs?
https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2
Edit: Ignore this comment. The link is already referenced in #79 which you stated you worked through already.
It looks like we need to create a config.w32
file to support compiling this extension in Windows. Unfortunately, I don't have the time to work on this right now. I also don't have a good Windows machine setup for testing.
My best suggestion is to encourage you to find a Linux-based environment to use this extension on; or if you are able to begin working on the config.w32
file yourself, I would be happy to help test and troubleshoot if you can take the lead writing it.
Hi!,
I am just a newbie to PHP. It look like that this library is for Linux. But I want to test this library in windows platform (Currently using Windows 11, PHP version - 7.4.33, and VS Code as a PHP Editor) and want to compile it as php-sweph.dll. Will you please guide or help me (Step by step if possible) in this regard.