-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
getting error with my php version and php mailer #2861
Comments
This is the error message, which means exactly what it says:
PHPMailer does not require a PHP version >= 7.4, so this is not being caused by PHPMailer. You need to check your other dependencies. This is outside PHPMailer's scope, but it's entirely possible you have multiple versions of PHP installed. If you run |
it was fine other day how do i fixit iv tfried all kinds and dno what else to try. |
The config on your server has nothing to do with me or PHPMailer, and PHPMailer didn't change your server's config. I've already told you how to fix it: check the versions of PHP you have installed, and make sure you only have the ones you want. |
nothirng else is broke just this crap it is you an your software! a real dev makes sure hes stuff works on any vewrsion on php ffs! fixit! and dont fkin brake it again! |
PHPMailer works with any version of PHP between 5.5 and 8.3. It has nothing to do with the problem you created. |
it was fine the other day now its not i havnt chamnged a thing, im using php 8 so thats higher than 7.4 and it still fails i need php mailer to work with all php versions above 7 including 8 and 8.1 and 8.2 how hard is that its clearly php mailer issue as they have a file that checks all this and it installed without error therefore a run time error is abnormal! it needs updating to work with php 8 onwards aswel as 7.4! |
Seriously, read what we are saying. PHPMailer is tested against every PHP version from 5.5 to 8.3. You can see it happening here, and also the version constraint in composer here. This is not a runtime error, it's an installation problem with your app, and though I'm repeating myself, has absolutely nothing to do with PHPMailer. |
iv reinstalled composer and php mailer and still get same error! |
could be an issue with composer as others are getting the same errors |
No, it's not an issue with composer, it's an issue with the installed PHP version. Composer is behaving according to what it's being told by your app. Somewhere in your dependencies, something wants at least PHP 7.4. It's not PHPMailer. Install a later version of PHP and your problem will go away. |
It turns out i owed £1 and they didnt even email me about it they just shut it down but i learned some things today about debug and how to find if credentails are being rejected etc! Sorry about this! you have to agree the error message was nothing todo with creds being rejected or billing at all so put this as number 1 thing to check! change message to credentail error or something please! This debug code is helpful
|
Please check these things before submitting your issue:
php mailer v6.7.1
php version PHP 8.2.1
on linux mint
Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' 7.2 comes up instead of 8.x
how do i fix? this is a bug as was fine other day ???
SMTPDebug = 2
setphpmailer
, but search first!Problem description
Code to reproduce
Debug output
It turns out i owed £1 and they didnt even email me about it they just shut it down but i learned some things today about debug and how to find if credentails are being rejected etc!
im glad to report ths is resolved and php mailer was not to blaim!
The text was updated successfully, but these errors were encountered: