Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
I've installed php7 on my droplet but according to my phpinfo I still use php 5.59
Hi there guys, so I installed Vesta control panel on my 1gb memory droplet. I’ve got nginx running in the front and apache in the back.
I’ve upgraded to php 7 with putty and when I type in “php -v” in the CL, it shows that I’m running php 7.
So in order to test things out, I decided to create a file called phpinfo and when I run it, it says that I’m running “5.5.9-1ubuntu4.14”
I’ve also got Wordpress installed and when I run the system status, it also shows that I’m using 5.5.9
SO now I’m confused. Which version am I really using and how can I switch (default) to php7?
Thank you for your input
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.×