Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

244
Views
OSX - phpinfo() and php -v versions are different

I've formatted my computer, install Homebrew and run brew install php && brew upgrade php, and after check my php version with php -v shows me 7.4 that's correct. But when I run phpinfo() in localhost, shows me php version is 7.1. I have put paths to .bash_profile file like that

export PATH=/usr/local/Cellar/php/7.4.5_1/bin:$PATH
export PATH=/usr/local/Cellar/php/7.4.5_1/sbin:$PATH

php -v is true, php-fpm -v is true but apache shows me PHP Version 7.1.23

How can I fix this?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!