If you physically try to access that directory, is it there? Usually declaring an alias wouldn't remove the directory.
However, I think a better way to use aliases is to symlink the php you want to use into the bin folder, usually at /bin
or /usr/local/bin
. You can do this by running ln -s <path>/<to>/<php> /bin/php
in the terminal.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community