In this video, we will resolve the Composer Issue related to “Library not loaded: /usr/local/opt/tidy-html5/lib/libtidy.5.dylib” while installing and updating the composer.
If in case, the above error comes while installing and updating the composer then we can resolve it by the steps shown in the video.
If we are installing and updating the composer for PHP 8.1 version and the above error comes then run the below commands :-
export PATH="/usr/local/opt/php@8.1/bin:$PATH"
export PATH="/usr/local/opt/php@8.1/sbin:$PATH"
In the same way, if you want to install or update composer for PHP 8.0 and the above error comes then run the below commands:-
export PATH="/usr/local/opt/php@8.0/bin:$PATH"
export PATH="/usr/local/opt/php@8.0/sbin:$PATH"
In the same way, if you want to install or update composer for PHP 7.0 and the above error comes then run the below commands:-
export PATH="/usr/local/opt/php@7.0/bin:$PATH"
export PATH="/usr/local/opt/php@7.0/sbin:$PATH"
You can check your updated PHP version by locating /usr/local/opt/ folder in your MAC. Check in the video how we can locate this folder to check the PHP version
( Another way to Press Command-Shift-G to open the dialogue box. Enter what you want to search for, e.g.,/usr or /usr/ )
►Install Xampp to PHP 8 in Mac -
https://youtu.be/Ki-riL_ddL4
►Update Xampp to PHP 8 in Mac without losing data - https://youtu.be/aKd8Fh_FG-c
►Get Ready for Laravel 9 - https://www.youtube.com/playlist?list=PLLUtELdNs2ZYVb9lco6OnloSFyBLZU3tz
►Click here to subscribe for Laravel & other updates - https://www.youtube.com/stackdevelopers
Popular Stack Developers Series that can help you:-
►Laravel Advance E-commerce Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZaHaFmydqjcQ-YyeQ19Cd6u
►GIT Tutorial for Beginners - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZVQ-dLOMFWvmCCduzJ8c6R
►Laravel API Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbcCsd4yAAiBU2L3ROREk8P
►Laravel Interview Questions - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbzB_1Jdp_yFcORwOfWP8RU
►jQuery Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbMYoUA46GIonOH29KcjtxA
►Laravel Basic E-commerce Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZY5drPxIWzpq5crhantlzp7
►Laravel Dating Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZrPUnxjlomErJfNvkyS6Hf
Follow Stack Developers on Social Media to get updates and resolve your queries
►Like Facebook Page to get updates - http://facebook.com/stackdevelopers2/
►Join Facebook Group to resolve your queries - http://facebook.com/groups/stackdevelopers
►Follow on Instagram - https://www.instagram.com/stackdevelopers2/
►Follow on GitHub - https://github.com/stackdevelopers
#composer #php8 #laravel9