XAMPP PHP not running on MAC problem?

Even if you install XAMPP on Mac, the mac still runs the PHP that it already has rather than using the PHP of XAMPP and this could become a big problem if there is a version difference.

Wait, don’t get frustrated, in only 5 steps you can tell your mac to use the XAMPP’s php rather than its own. The steps are as follow:

  1. Open terminal and type  vim ~/.bash_profile
    A new window will open.
  2. Type i to insert words into the editor and copy and paste the following: (the mouse click won’t work so use CMD+C and CMD+V):
    export PATH=/Applications/XAMPP/bin:$PATH
  3. Hit ESC: Then type:wq and hit enter to save
  4. In terminal type source ~/.bash_profile
  5. Check by typing which php in terminal.

Yup, it’s that easy.  You can then verify by typing WHICH PHP on terminal.

521 thoughts on “XAMPP PHP not running on MAC problem?”

  1. priligy precio You don t have to do anything right now, let s manage our small territory well, and build the church s guardian knights by the way, Slowly, the whole world what can immediately lower blood pressure seemed to shake slightly, The bishop s heavy breathing resounded like a beast in the temple, and the golden altar made a harsh creaking sound, as if overwhelmed

  2. Hmm it seems like your blog ate my first comment (it was extremely long) so I guess I’ll just sum
    it up what I submitted and say, I’m thoroughly enjoying
    your blog. I as well am an aspiring blog blogger
    but I’m still new to the whole thing. Do you have any tips and hints for rookie blog writers?
    I’d definitely appreciate it.

  3. How many engineers are struggling to solve technical problems, our country started late, technology has been blocked, and there is nitric oxide supplements for erectile dysfunction Spartan Male Enhancement Pills too much work to do where can i get generic cytotec without rx The most common side effects of MYRBETRIQ include high blood pressure, pain or swelling of the nose or throat nasopharyngitis, urinary tract infection, and headache