Hi,
I'm running cPanel 62.0.16, WHM 62.0 (build 16) and am developing magento 2 stores. Composer is installed in /opt/cpanel/ and when navigating to that directory I see
.. composer ea-apr15 ea-php54 ea-php55 ea-php56 ea-php70 libmcrypt perl5
so my php70 package is there.
In my magento 2 directory my magento 2 store uses the ea-php70 just fine. But when I want to use composer I find that composer seems to use ea-php54 (the cPanel default???) and I cannot tell it to use the ea-php70 that I have installed for my magento 2 store.
I get errors like allow_url_fopen must be enabled (indeed it is enabled for my ea-php70 package and is not enabled for my ea-php54 package) and allowed memory exceeded (my ea-php54 package only has a memory_limit of 32 but I don't use it anyway)
How can I tell composer to use the ea-php70 package that I specifically made for my magento 2 stores? And why on earth is it using that php54 package??? I can't even run composer self-update because of the php54...
I have looked everywhere and WHM is great but somehow Composer in cPanel keeps falling back on a package and PHP version that I do not want it to use.
Can anybody tell me why and how to change that?
Thank you very much in advance
regards,
Isolde
I'm running cPanel 62.0.16, WHM 62.0 (build 16) and am developing magento 2 stores. Composer is installed in /opt/cpanel/ and when navigating to that directory I see
.. composer ea-apr15 ea-php54 ea-php55 ea-php56 ea-php70 libmcrypt perl5
so my php70 package is there.
In my magento 2 directory my magento 2 store uses the ea-php70 just fine. But when I want to use composer I find that composer seems to use ea-php54 (the cPanel default???) and I cannot tell it to use the ea-php70 that I have installed for my magento 2 store.
I get errors like allow_url_fopen must be enabled (indeed it is enabled for my ea-php70 package and is not enabled for my ea-php54 package) and allowed memory exceeded (my ea-php54 package only has a memory_limit of 32 but I don't use it anyway)
How can I tell composer to use the ea-php70 package that I specifically made for my magento 2 stores? And why on earth is it using that php54 package??? I can't even run composer self-update because of the php54...
I have looked everywhere and WHM is great but somehow Composer in cPanel keeps falling back on a package and PHP version that I do not want it to use.
Can anybody tell me why and how to change that?
Thank you very much in advance
regards,
Isolde