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

Support more extensions #152

Open
18 of 32 tasks
crazywhalecc opened this issue Aug 29, 2023 · 10 comments
Open
18 of 32 tasks

Support more extensions #152

crazywhalecc opened this issue Aug 29, 2023 · 10 comments
Labels
enhancement New feature or request help wanted Extra attention is needed kind/extension Issues related to extensions

Comments

@crazywhalecc
Copy link
Owner

crazywhalecc commented Aug 29, 2023

Some extensions that are planned to be supported are listed here. Here is just a collection list and contains my notes, and there is no guarantee that the extension will be supported. Some of the extensions contained here may not be supported and will be removed from this list if they are found to be unsupported.

Linux & macOS

Windows

FreeBSD

No.

@crazywhalecc crazywhalecc added enhancement New feature or request help wanted Extra attention is needed kind/extension Issues related to extensions labels Aug 29, 2023
@crazywhalecc crazywhalecc pinned this issue Aug 29, 2023
@stloyd
Copy link
Contributor

stloyd commented Sep 7, 2023

Aren't those extensions already covered?

@crazywhalecc
Copy link
Owner Author

Aren't those extensions already covered?

No. imap and ldap are internal extensions, and they will be supported in the future (I'm debugging them on my local branch). Now I need to figure out some old library compilation, e.g. wu-imap (c-client). It would be great if someone knows about them and would like to help.

For imap, I'm reading Homebrew and Alpine BUILD related code:

@DubbleClick
Copy link
Contributor

DubbleClick commented Sep 13, 2023

I think the old links that are mentioned in git.alpinelinux.org are dead, but the sources can be found at https://github.com/uw-imap/imap. Edit: never mind, the source link is still up.

I'll try to get the php-imap compilation working on a VM, but this looks like a dead extension going forward. Highly unfortunate that there doesn't seem to be a reliable alternative.

Ldap (and sysvsem, is it planned?) integration appears fairly straightforward, though.

@crazywhalecc
Copy link
Owner Author

@DubbleClick sysvsem is supported now, but it seems I forgot add it in documentation. I'll add it later.

ldap is planned but I haven't started yet.

@DubbleClick
Copy link
Contributor

I was able to compile php with ldap just following the documentation. Imap is a whole other story, had no luck with it on rhel 9.2. I hope I'll find the time to create a PR for ldap next week.

@crazywhalecc
Copy link
Owner Author

I was able to compile php with ldap just following the documentation. Imap is a whole other story, had no luck with it on rhel 9.2. I hope I'll find the time to create a PR for ldap next week.

It would be great if you could improve new extensions!

And I noticed that you are using RHEL, I'm not familiar with it. It might be more helpful if someone could first improve the doctor check items for RHEL and CentOS environments.

@DubbleClick
Copy link
Contributor

DubbleClick commented Sep 16, 2023

Yeah I've noticed that there was no musl auto-fix for rhel available. I wasn't able to find a rpm for it and therefore had to manually build it and add the directory to ld_flags.

Will do again with a fresh VM and document the necessary commands. I should find time next week.

@DubbleClick
Copy link
Contributor

DubbleClick commented Sep 23, 2023

I've had more of a play with imap and got it to compile (dynamically so far, with openssl3, not 1.1.1), but even that requires a lot of patches both in the form of .patch files as well as replacing contents in files that no .patch file is available for. This project doesn't have any logic to apply patch files yet.

It also needs multiple services to be running on the system and a (self signed is fine) certificate. It's a complete mess that requires decisions to be taken to integrate it here that I'm not in a position to make.

I would very much appreciate if someone could tackle it, because it's a very necessary extension with no real replacement (there's laminas mail to send mail with limited functionality, an abandoned php-imap2 that doesn't work with php 8, and nothing else). But you should expect it to be quite a lot of work. :/

Edit: There seems to be a fairly well maintained imap replacement here, although I haven't check if all functionality exists: https://github.com/Webklex/php-imap

Either way it would still be good to integrate ext-imap for compatibility with existing projects.

@crazywhalecc
Copy link
Owner Author

crazywhalecc commented Sep 23, 2023

@DubbleClick

See #202

@crazywhalecc crazywhalecc changed the title Support more common extensions Support more extensions Dec 20, 2023
@boonkerz
Copy link

boonkerz commented Mar 2, 2024

i work on sdl

cli and micro with static sdl3 lib currently only on windows

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed kind/extension Issues related to extensions
Projects
No open projects
Development

No branches or pull requests

4 participants