I have to version of PHP installed on my lion osx
/opt/local/bin/php (5.3.12)
/usr/bin/php (5.3.10)
When I try to install php modules using port
, it refers to /opt/local/bin/php (5.3.12)
But when I start the web server the apache is using /usr/bin/php
because if I look to the phpinfo
on the apache webserver it tells me PHP Version 5.3.10
.
How can I fix this issue?
My goal is to install php-modules using port
which affects the php
used by apache.