Kyrne Thank you. I done this now so maybe i will use command composer instead php /user/bin/composer.phar
Still have an issue on my side that i will need investigate and maybe find some help on the web.
Issue is caused from a php.ini line that i have:
[openssl]
openssl.cafile= /etc/ssl/cert/mydomaincabundle.crt
This made also now have the error with composer:
[Composer\Downloader\TransportException] The "https://api.github.com/rate_limit" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
So maybe when i added the open SSL line i solved issue with email sent by php that was having the same error above but this line create composer to have SSL error. Seems is not an issue from composer but from my configuration side. At the moment i never have idea on how to solve. If i remove the openssl line on php.ini composer work fine and mail stop to work.
I have opened a topic on stack overflow , i will also try to ask help to the support of my control panel. I hope to be able to solve this issue in future ... pretty sure is an issue on my server configuration side. I am not into business , i am a small passionate and i do not know very deep SSL and VPS also if i have some knowledge maybe sufficient for manage a VPS.
This issue still be here and i need solve sure with the help of someone 😃