Question
How do I know which PHP version I'm using and how to update it?
Hello, I’m very very new to web development and computing world and I’ve got a very basic question. I need to create a web app which supports login with Facebook. In order to do that, I need to use php. Although, Facebook api need php5.4+
How do I know which version of php is supported from my server?
Besides, If it’s not 5.4+ how do I update it?
Thanks a lot for your support.
Greets,
Giacomo
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Almost all recent Linux distros come with PHP 5.4+. You can first check which version of PHP the distro uses before you create the droplet from here: http://distrowatch.com/
Also you can check after you create the droplet and install PHP with the command php -v.