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

php-ast 1.1.0 DLL for Windows #236

Open
Hackwar opened this issue Mar 4, 2023 · 7 comments
Open

php-ast 1.1.0 DLL for Windows #236

Hackwar opened this issue Mar 4, 2023 · 7 comments

Comments

@Hackwar
Copy link

Hackwar commented Mar 4, 2023

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?

@wo80
Copy link

wo80 commented Mar 28, 2023

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
Copy link

wo80 commented Mar 30, 2023

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.

@OwnerOfThisIsle
Copy link

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?

@wo80
Copy link

wo80 commented Jun 12, 2023

@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

@neuberkauf
Copy link

@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.

@macintoshplus
Copy link

Hi @Hackwar,

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

@macintoshplus
Copy link

@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.

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

5 participants