Hi all!
I have a website which needs PHP updating and I cannot figure out how to do it. I have updated to the latest version of WordPress, and read this guide, which told me I have to do it through my hosting provider. Problem is – when I used the site profiler, it told me my site is "self-hosted." This makes sense as I don't think I have a hosting company other than WordPress. I cannot find any comprehensible information about how to update PHP on a self-hosted WordPress site – everything is technical jargon and requires code and it's honestly a little overwhelming. I want to make sure my site doesn't give a security error when accessed but I have no experience as a developer and am pretty stumped about how to do this. Any help would be greatly appreciated!
Usually you update the PHP version using cPanel, but there can be some AddHandlers into your .htaccess for the PHP version as well.
Best practice is to search the PHP file using PHPinfo.php and once you locate it, update the PHP version inside that file
The article you provided is great, just follow on the steps [here](https://wordpress.org/support/update-php/#how-to-update-your-websites-php-version-for-a-faster-more-secure-website)
Self-Hosted means you are some provider other than WordPress.com, and there *has* to be a provider or your site wouldn’t work.
Different hosting providers have different methods of managing PHP versions, but often you can contact your provider and they will do it for you.
What do you mean “self-hosted?”:A server in the cellar of your house? A virtual machine rented from a cloud provider? Which one? What OS is on the server?
It’s hard to give you useful advice without knowing those things.
Do you make monthly/annual payments to a company to keep your site running? If yes, then that’s your web host. Provide your site URL – unless you’re using Cloudflare or another reverse proxy, it may be possible to check who your web host is.