Bear with me for a few so I can give you the background.
1) I purchased a new MacBook laptop which had PHP 4.4.4 installed. I was doing some development and realized that the extensions or library to allow me to do calendar functions hadn't been installed. As such I decided to upgrade to a more current version of PHP and also ensure that the calendar library/extensions were available.
2) I downloaded the PHP package from Marc Lyniage's site for Apache 1.3.9 (I believe) since everything I had read said that Apple was shipping machines with that version. I was unable to connect after that.
3) Then I thought - well, I might want to upgrade Apache to v2, and then PHP5. So I downloaded a package for Apache2 and installed it and then downloaded a PHP5 package from Marc Lyniage's site for Apache2 and then installed that. I got a little further along in that I now have the Apache web server up and running.
My issue at present is that when I go to view php info - I see
Code: Select all
<?php phpinfo();?>I did a little digging and found that when I went to the terminal and did a php -v, its still running PHP 4.4.4.
Apparently the upgrade didn't overwrite PHP4.4.4 and its still running somewhere and the httpd.conf file for Apache is still looking for PHP v 4.4.4.
At this point I'm stuck - I'm not great at understanding the back end stuff in great detail, but I don't know the best course of action to take. Is there a way that I can modify the httpd.conf file to point to the php5 information so it looks to that? And what about getting rid of PHP 4.4.4 and using PHP5 - what would I do for that? Or is that the best course of action at this point?
Thank you so much in advance for your help.