So, in a bit of a mess here. I was TRYING to change the version of my El Capitan PHP version (5.6.2) to PHP7, however I made a bit of a mess.
Now I just want to send things back to normal.
When I run which php, I get this:
/usr/local/php7/bin/php
which should be default:
/usr/bin/php
When I run php -v, I get this error:
dyld: Library not loaded: /usr/local/php5/lib/libtidy-0.99.0.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
Trace/BPT trap: 5
I did quite a few things, wrongly. Starting with wrong paths. This started the mess (STUPID):
sudo mv /usr/local/bin/php /usr/local/bin/php7
sudo ln -s /usr/local/php7/bin/php /usr/local/bin/php
How can I get thing back to their default state?
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 311
تاريخ: شنبه
8 خرداد
1395 ساعت: 1:15