jeudi 12 février 2015

Php version shown in command line differs from phpinfo(); in localhost:8000


I started my OS X php test server by typing



php -S localhost:8000


I updated my php on OS X to 5.6 and when I check the version through the command line by typing:



php -v


It tells me that I have "PHP 5.6.5"


When I start my php test server and look at the index.php file that has the "phpinfo();" function, it tells me that I still have version 5.5.14 that comes with OS X.


What can I do to get my php version on localhost:8000 to reflect that change?


Once I figure that out, I also am going to work at getting mcrypt working.


Thank you very much!





Aucun commentaire:

Enregistrer un commentaire