php-ast icon indicating copy to clipboard operation
php-ast copied to clipboard

php-ast 1.1.0 DLL for Windows

Open Hackwar opened this issue 1 year ago • 7 comments

Hello and thank you for your work. When can we expect a precompiled DLL for windows for php-ast 1.1.0? Do you need help here somewhere?

Hackwar avatar Mar 04 '23 12:03 Hackwar

It should be possible to build this using cmb69/setup-php-sdk.

I tried setting up a workflow at https://github.com/wo80/php-ast-windows-build/blob/main/.github/workflows/ci.yml, but it seems to fail during the configure step. Got no time and interest to investigate further, but maybe someone here wants to fiddle around with it...

wo80 avatar Mar 28 '23 14:03 wo80

The build script is working now. php_ast.dll loads fine, php -i outputs

ast

ast support => enabled
extension version => 1.1.1-dev
AST version => Current version is 90. All versions (including experimental): {50, 60, 70, 80, 85, 90}

No further tests done.

@nikic Feel free to copy the workflow to your main.yml

EDIT: Be aware that you need to remove the cd php-ast command since the library will be build in the top-level directory here.

wo80 avatar Mar 30 '23 10:03 wo80

The readme.md says to get it from https://windows.php.net/downloads/pecl/releases/ast/ , but there is no current version. Who can do something about it?

OwnerOfThisIsle avatar Jun 12 '23 13:06 OwnerOfThisIsle

@OwnerOfThisIsle If it's ok for you to use the build artifact, go to https://github.com/wo80/php-ast-windows-build/actions, open latest commit and scroll down to artifacts. You will find the following archives there.

Direct download (last update 2024-01-13): php_ast-8.2-x64-nts.zip php_ast-8.2-x64-ts.zip php_ast-8.3-x64-nts.zip php_ast-8.3-x64-ts.zip

wo80 avatar Jun 12 '23 16:06 wo80

@wo80 Thanks for helping those of us with Windows environments stay caught up! i've come across a lot of PECL extensions that haven't gotten new DLLs in a long time.

neuberkauf avatar Jun 22 '23 20:06 neuberkauf

Hi @Hackwar,

The DLLs for for the version 1.1.1 is available here : https://phpext.phptools.online/extension/php/ast-253

macintoshplus avatar Jan 17 '24 16:01 macintoshplus

@wo80Merci d'aider ceux d'entre nous avec les environnements Windows à rester pris! j'ai rencontré beaucoup d'extensions PECL qui n'ont pas eu de nouvelles DLL depuis longtemps.

Many DLLs are available on this website: https://phpext.phptools.online

If an extension is not built, you can request a build.

macintoshplus avatar Jan 17 '24 16:01 macintoshplus

The readme.md says to get it from https://windows.php.net/downloads/pecl/releases/ast/ , but there is no current version. Who can do something about it?

That apparently changed to https://downloads.php.net/~windows/pecl/releases/ast/ (different domain due to changes in build infrastructure)

https://pecl.php.net/package/ast

TysonAndre avatar Aug 10 '24 16:08 TysonAndre