-
-
Notifications
You must be signed in to change notification settings - Fork 157
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 8.4 and Taking Over The Library #541
Comments
@Forin @stevebauman Thanks |
Happy to help. If you have any PR's, send them my way and we can get this library patched up. I'll be taking a look at open ones on this repo to see what I can carry over as well 👍 |
Regarding implementing POP3 protocol without PHP IMAP extension functions: stevebauman#9 |
I have PHP 8.4.2 and Steve's library is working. Just install the imap library. wget http://curl.haxx.se/ca/cacert.pem -O /usr/ssl/cert.pem
pecl channel-update pecl.php.net
pecl install --configureoptions 'with-kerberos="yes" with-imap-ssl="yes"' imap Then add at the end of your php.ini file. |
We are providing the helpdesk which is being installed on shared hosting services - most of them don't provide PHP IMAP extensions with PHP 8.4 anymore. |
Without the extensions, and writing adhoc code to simulate something that is already there, you will make this PHP-IMAP library incompatible with PHP 8.4.2 with the extension installed and multiple forever support. The problem is with the infrastructure where you want to use this library, not with this PHP-IMAP library that Steve has indeed made compatible with PHP 8.4 already. |
Here is the POP3 protocol implementation without using PHP IMAP extension functions: It works similar to LegacyProtocol.php, just not all the searching options are implemented yet in the In order to utilize it (when PHP IMAP extension is not enabled) add the following code to
|
It looks like the library is not maintained anymore. Maybe someone is willing to take it over?
The first task would be to make it compatible with PHP 8.4.
There is already this pull request but also all the
imap_
functions will need to be removed from the library and the POP3 protocol will need to be implemented without usingimap_
functions: https://github.com/Webklex/php-imap/blob/master/src/Connection/Protocols/LegacyProtocol.phpThe text was updated successfully, but these errors were encountered: