Problem with 2 php version and openssl

General Tech Bugs & Fixes 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

Hello I got 2 errors I don't know how to solve.

First: installed manually the php7.1.10 and the installed by apt-get the version 7.1.11 (following thissteps). Know with a phpinfo() I get PHP Version 7.1.11-1 but inside terminal I get 7.1.10. How can I change the cli inside terminal so I get the same version?

Second: I'm getting this error The openssl extension is required for SSL/TLS protection but is not available. making a php composer.phar install. Inside the phpinfo I get OPENSSL support enabled but inside terminal I get OpenSSL support => disabled (install ext/openssl). So maybe this could be solved by changing the php version that i'm using inside terminal.

enviroment: debian9, apache 2.4

Any help? thanks!!!

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.