I am struggling with setting up a correct php version on my mac, and have found out that I don't have an /opt/ directory.
-bash: cd: /opt/: No such file or directory
or
-bash: cd: /opt/local/etc: No such file or directory
Is it possible? How can I deal with this issue. My apache reveals an incorrect php version, and to make it use the correct one, I have to add LoadModule php5_module /opt/local/apache2/modules/mod_php54.so
to httpd.conf, but I can't do that since I don't have an /opt directory. I will be truly grateful for your help - please, be specific, because I am a newbie and all this is very difficult for me. Thank you very much!