Tuesday, September 5, 2023

Mac OS PHP and XAMPP path setup

Open file dependency profile of Mac:

sudo vi ~/.zshrc or ~/.bash_profile

Now enter the following linese and save the file from your editor vi or nano:

export XAMPP_HOME=/Applications/XAMPP
export PATH=${XAMPP_HOME}/bin:${PATH}
export PATH

Now refresh the terminal and check path using the following command staying in the same terminal without closing:

exec $SHELL -l;
which php

No comments:

Post a Comment

How to display dynamically all records matching the selected value

 Assuming: Data range: A3:J1061 Dropdown selection: D2 Criteria column: J4:J1061 Headers are in row 3. Enter this formula in the cell where ...