As famous above, about half of all WordPress websites are working a version of PHP that has already been deprecated, meaning it’s not supported or patched for security vulnerabilities. While updating your PHP will help ensure it’s operating easily, new versions are additionally supported by a team of PHP developers from all over the world who keep, update, and make fixes to the language in secure version releases. Whereas PHP is extensively used as a central part of WordPress, it also needs to be up to date to make sure it’s powering your site, not slowing it down. Not Like JavaScript, the place code is rendered in a user’s browser, PHP is a server-side programming language, which implies it’s processed on the bodily server the place it lives. As such, it’s a foundational element discovered behind the scenes on many WordPress sites.
If you discovered this text useful, you’ll probably love our sensible screencasts! While phpversion is less problematic, phpinfo reveals so much about your PHP setup and will by no means be made public. Be careful when exposing the current model of your PHP installation publicly. Check Rockstar’s confirmed plans and learn to AvaHost spot suspicious sign-ups.
- An even better possibility is exploring native growth, which lets you create a local copy of your web site and run it on your laptop.
- If it says “No signs”, that isn’t proof your website is safe, so use one of many other methods beneath to confirm.
- The methods described supply flexibility depending on the extent of element required and the setting in query.
- These steps apply to Debian or Ubuntu servers the place the nginx net server connects to PHP-FPM on the same machine, as in our take a look at VPS.
- The latest secure release is PHP eight.5.9 as I update this information.
- Together, eight.3 identifies the PHP department, whereas 35 identifies the precise release containing bug fixes and security updates.
To verify your PHP model in WordPress, open Web Site Health from the Tools menu, where the Server section lists the PHP model that runs your website. For WordPress websites, WordPress → Overview reveals the department on the PHP Version card, so you possibly can examine it without opening the WordPress admin dashboard. Use PHP Information when you need the exact launch and build date, for example, to confirm that a security repair reached your website. In the same Superior menu, PHP Configuration shows solely the branch you chose, corresponding to PHP eight.3. You can verify the PHP model in Hostinger this way for every website in your plan, besides those constructed with Hostinger AI Builder.

Decide The Command That Matches Where Php Runs
If your website is constructed with WordPress®1, that code would possibly embrace a mix of HTML, CSS, and JavaScript (among different coding languages), however it almost definitely contains PHP. Use this information to examine which model of PHP your web site is operating and maintain it up to date as new variations are launched. He has additionally contributed to publications like MacMagazine and Jornal A Tarde. Hostinger installs safety fixes, such because the php2shell patch, for your present model on every plan besides VPS, but updating to a more moderen branch is as much as you. Once these checks cross, change your PHP model in your control panel, or install the newer branch’s packages on a VPS.

