-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Upgrade to 2.4.7 - Undefined constant FTP_BINARY #1147
Comments
Same issue here on Magento 2.4.6-p3 and 8.2-fpm, 8.2-fpm-4 |
docker-library/php#1488 |
You need to install the FTP extension Add a new Dockerfile that extend from the image Dockerfile:
then go the compose.yaml to update the phpfpm service
|
Same issue Adobe Commerce ver. 2.4.7-p2, PHP 8.2.18 |
Ok thanks for this report, I'm not sure why I didn't see this task at all, but can add the FTP extension into the next build. In the meantime, @zfaty's workaround is the recommended approach 👍 |
Description
I am upgrading my Magento EE from 2.4.5 to 2.4.7.
I used the image markoshust/magento-php:8.1-fpm and changed it to markoshust/magento-php:8.2-fpm-4.
I got the following Exception when editing a scheduled import from BO :
Undefined constant "Magento\ScheduledImportExport\Model\Scheduled\Operation\FTP_BINARY"
It seems to be a constant defined with the extension php-ftp. It was present in my old application settings :
(screenshot in PHP fpm docker, result of PHP --m)
With the new version, the extension isn't present anymore.
Is it normal to don't have it anymore?
Thanks!
The text was updated successfully, but these errors were encountered: