• Home
  • About 404TS
  • Contact

404 Tech Support

Where IT Help is Found

  • Articles
    • Code
    • Entertainment
    • Going Green
    • Hardware, Gadgets, and Products
    • Management
    • Network
    • News
    • Operating Systems
    • Security and Privacy
    • Software
    • System Administration
    • Talking Points
    • Tech Solutions
    • Web
    • Webmaster
  • Reviews
  • Media
    • Infographics
    • Videos
  • Tech Events
  • Tools
    • How do I find my IP address?
    • Browser and plugin tests
  • Get a Technical Consultation
You are here: Home / Articles / Webmaster / Upgrading the Vultr WordPress application to PHP 7.0

Upgrading the Vultr WordPress application to PHP 7.0

2016-01-19 by Jason

I recently switched my hosting to save costs and gain performance. The unmanaged SSD VPS options are almost too good of a deal to pass up. 404 Tech Support is now running on Vultr and I have been very happy with the performance and price.

To make things easier on me, I used the pre-built WordPress application on Cent OS 6 that Vultr offers. It was super easy to spin up an instance and migrate my site over. One of the benefits of the cloud servers is that they are so easy to spin up additional servers. For less than a penny an hour, I can spin up a separate server and use it to test out plugins, updates, or other changes to the server. In the most recent case, I updated my server to use PHP 7.0. The pre-built application comes with PHP 5.5.30 with Nginx and I really wanted to take advantage of the improved performance with PHP 7.0.

I spun up a test server with Vultr’s simple deploy process, completed the WordPress install by following the server’s instructions, and used FTP to throw a phpinfo.php page up on the server so that I could verify the version change. All in all, it’s about a 5 minute process.

Take a snapshot of your server so you can restore if something goes sideways!

SSH into your server as root or begin these commands with sudo.

Verify which version of PHP your server is running:

php -v

phpv5530

List PHP packages installed through yum:

yum list installed | grep php*

yumlist

Tell yum to remove the current version of PHP and confirm its questions:

yum remove php55u-*

Add the Webtatic repository:

rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

Have yum update your packages:

yum update

Install PHP 7 and some equivalent modules that we removed (Note: not all modules are available for PHP 7 yet):

yum install php70w-cli php70w-common php70w-fpm php70w-gd php70w-mbstring php70w-mcrypt php70w-mysqlnd php70w-opcache php70w-pdo php70w-pear php70w-pecl-apcu php70w-pecl-imagick php70w-process php70w-xml php70w-xmlrpc

Verify that your server is now running PHP 7.0.2 (or newer) after the install:

php -v

phpv702

Edit the PHP configuration so that it runs as the Nginx user and group (Change lines for user and group from ‘apache’ to ‘nginx’):

nano /etc/php-fpm.d/www.conf

Set PHP to start automatically:

chkconfig php-fpm on

Restart Nginx and start PHP manually

service nginx restart && service php-fpm restart

That’s it. You can now confirm with the phpinfo.php page that the server is running the latest version of PHP. If anything went wrong, you can restore to your snapshot. Otherwise, we will assume everything went smoothly and you can enjoy the benefits of PHP 7 on your Vultr server.

If you would like to see the upgrade process as a video, see below:

Filed Under: Webmaster

Trending

  • Our privacy is croaking with social networks
    In Comics
  • National High School Cyber Defense Competition Begins Today
    In Security and Privacy
  • AutoRuns – Beyond MSConfig for Startup Investigating
    In Software, Tech Solutions

Latest Media Posts

Find Out Where To Download SNES ROMs

Find Out Where To Download SNES ROMs

Multifunctional Video Conversion Tools – Wondershare Video Converter

Multifunctional Video Conversion Tools – Wondershare Video Converter

  • Popular
  • Latest
  • Today Week Month All
  • Access to the resource [servershare] has been disallowed Access to the resource [servershare] has been disallowed
  • Read the Event Logs on Windows Server Core Read the Event Logs on Windows Server Core
  • Increase IIS Private Memory Limit to improve WSUS availability Increase IIS Private Memory Limit to improve WSUS availability
  • How to ‘Unblock’ multiple files at a time with PowerShell How to 'Unblock' multiple files at a time with PowerShell
  • Setup your DFS namespace with DNS for compatibility in a mixed environment Setup your DFS namespace with DNS for compatibility in a mixed environment
  • How Virtual Reality Supports Mental Health Therapy How Virtual Reality Supports Mental Health Therapy
  • Key Strategies of Successful Coin Listing on Exchange Key Strategies of Successful Coin Listing on Exchange
  • Keeping Your Mac Healthy: A Comprehensive Guide to Maintenance and Troubleshooting Keeping Your Mac Healthy: A Comprehensive Guide to Maintenance and Troubleshooting
  • Making Distributed Software Development Work: Strategies and Best Practices for Managing Remote Teams Making Distributed Software Development Work: Strategies and Best Practices for Managing Remote Teams
  • customer contactless payment for drink with mobile phon at cafe counter bar,seller coffee shop accept payment by mobile.new normal lifestyle concept The Latest Innovations In Payment Technology
Ajax spinner

Elevator Pitch

404 Tech Support documents solutions to IT problems, shares worthwhile software and websites, and reviews hardware, consumer electronics, and technology-related books.

Subscribe to 404TS articles by email.

Recent Posts

  • How Virtual Reality Supports Mental Health Therapy
  • Key Strategies of Successful Coin Listing on Exchange
  • Keeping Your Mac Healthy: A Comprehensive Guide to Maintenance and Troubleshooting

Search

FTC Disclaimer

404TechSupport is an Amazon.com affiliate; when you click on an Amazon link from 404TS, the site gets a cut of the proceeds from whatever you buy. This site also uses Skimlinks for smart monetization of other affiliate links.
Use of this site requires displaying and viewing ads as they are presented.

Copyright © 2025 · Magazine Pro Theme on Genesis Framework · WordPress · Log in