Categories

See More
Popular Forum

MBA (4887) B.Tech (1769) Engineering (1486) Class 12 (1030) Study Abroad (1004) Computer Science and Engineering (988) Business Management Studies (865) BBA (846) Diploma (746) CAT (651) B.Com (648) B.Sc (643) JEE Mains (618) Mechanical Engineering (574) Exam (525) India (462) Career (452) All Time Q&A (439) Mass Communication (427) BCA (417) Science (384) Computers & IT (Non-Engg) (383) Medicine & Health Sciences (381) Hotel Management (373) Civil Engineering (353) MCA (349) Tuteehub Top Questions (348) Distance (340) Colleges in India (334)
See More

PHP incredibly slow since upgrading macOS to 10.14 Mojave?

General Tech Bugs & Fixes
Max. 2000 characters
Replies

usr_profile.png
Amie Khalifa

User

( 6 months ago )

Since I upgraded my Mac to Mojave 10.14, I noticed PHP is incredibly slow.

When I do this from the terminal:

php -v

It takes about 4-5 seconds before showing the version number, which is:
PHP 7.1.13 (cli) (built: Feb 1 2018 13:38:42) ( NTS )

Is there a way to fix this? And, perhaps upgrade to the latest PHP (currently 7.2) while I'm at it?

usr_profile.png
NeelKamal Jha

User

( 6 months ago )

I faced a similar issue on Mojave update, I was able to fix it by updating /etc/hosts file with

::1             localhost YouMacName.local
127.0.0.1       localhost YouMacName.local

You can get YourMacName.local by running in terminal:

$ hostname

I hope it helps you

what's your interest


forum_ban8_5d8c5fd7cf6f7.gif