{"id":2269,"date":"2025-02-03T12:20:03","date_gmt":"2025-02-03T11:20:03","guid":{"rendered":"https:\/\/uniquedevs.com\/blog\/aktualizacja-php-w-wordpress-jak-zrobic-to-bezpiecznie-i-efektywnie\/"},"modified":"2025-02-06T15:43:20","modified_gmt":"2025-02-06T14:43:20","slug":"php-update-wordpress","status":"publish","type":"post","link":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/","title":{"rendered":"PHP update in WordPress &#8211; how to do it safely and effectively?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>How to update PHP on a hosting server<\/strong>?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Updating PHP <a href=\"https:\/\/uniquedevs.com\/en\/blog\/what-is-a-cms-wordpress\/\">wordpress<\/a> on your hosting server may seem complicated, but with the right approach the process becomes simpler.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Steps to follow:<\/strong><\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Log<\/strong> into the hosting management panel (e.g. cPanel, Plesk).<\/li>\n\n\n\n<li><strong>Go to the PHP section<\/strong> and select the option to change the PHP version.<\/li>\n\n\n\n<li><strong>Select the latest stable version of PHP<\/strong> and confirm the changes.<\/li>\n\n\n\n<li><strong>Restart the server<\/strong>, if required.<\/li>\n\n\n\n<li><strong>Test your site<\/strong>, to make sure it works properly after the update.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>PHP update via console (SSH)<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you have access to the server via SSH (for example, on a VPS or dedicated server), you can manually update PHP. This method is recommended for advanced users who manage their own server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Checking the current PHP version. First, check what version of PHP is currently installed:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>php -v\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>PHP update &#8211; instructions for different systems:<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Debian\/Ubuntu:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">1. Update the package list:<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>sudo apt update &amp;&amp; sudo apt upgrade -y\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">2. Add a repository with current PHP versions:2. add a repository with current PHP versions:<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>sudo add-apt-repository ppa:ondrej\/php -y\nsudo apt update\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3. Uninstall the old version of PHP (optional, but recommended):3. uninstall the old version of PHP (optional, but recommended):<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>sudo apt remove php*\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">4. Zainstaluj najnowsz\u0105 wersj\u0119 PHP (np. PHP 8.2):<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>sudo apt install php8.2 php8.2-cli php8.2-fpm php8.2-mysql php8.2-curl php8.2-gd php8.2-mbstring php8.2-xml php8.2-zip -y\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">5. Check if the new version is active:<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>php -v\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">6. Reboot the server for the changes to take effect:6. reboot the server for the changes to take effect:<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>sudo systemctl restart apache2   # If use Apache\nsudo systemctl restart nginx     # If use Nginx\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">RedHat \/ CentOS \/ AlmaLinux \/ Rocky Linux<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">1. Install the Remi repository (if you don&#8217;t already have it):<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>sudo yum install -y epel-release yum-utils\nsudo yum-config-manager --enable remi-php82\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">2. Uninstall the old version of PHP (optional):<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>sudo yum remove php*\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3 Install the latest version of PHP:<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>sudo yum install -y php php-cli php-fpm php-mysqlnd php-curl php-gd php-mbstring php-xml php-zip\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">4. Check the PHP version:<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>php -v\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">5. Restart the server:<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>sudo systemctl restart httpd   # If use Apache\nsudo systemctl restart php-fpm # If use PHP-FPM\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Additional steps after the upgrade: Check that the new PHP version is working in WordPress: In the admin panel, go to Tools \u2192 Site Info \u2192 Server. Update PHP configuration files<code>(php.ini<\/code>), if you have custom settings. If the site stops working, check the PHP error logs.<\/p>\n\n\n                        <div class=\"contact-banner boxes\" >\n                <div class=\"contact-banner__image\">\n                    <img decoding=\"async\" src=\"https:\/\/uniquedevs.com\/wp-content\/themes\/uniquedevs\/assets\/images\/boxes.webp\" alt=\"Are you looking for a trusted IT company?\">\n                <\/div>\n                <div class=\"contact-banner__image-mobile\">\n                    <img decoding=\"async\" src=\"https:\/\/uniquedevs.com\/wp-content\/themes\/uniquedevs\/assets\/images\/boxes-mobile.webp\" alt=\"Are you looking for a trusted IT company?\">\n                <\/div>\n                <div class=\"contact-banner__wprapper\">\n                                            <div class=\"contact-banner__wrapper-title\">\n                            Are you looking for a trusted IT company?                        <\/div>\n                                                                                            <a href=\"https:\/\/uniquedevs.com\/en\/contact\/\" class=\"contact-banner__wrapper-btn\" >\n                                Contact us!                            <\/a>\n                                                            <\/div>\n            <\/div>\n            \n\n\n<h2 class=\"wp-block-heading\"><strong>Update PHP via FTP and wp-config.php<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Directly updating PHP via FTP is not possible, because FTP is only for file transfer and does not allow you to change server settings. However, if you want to update WordPress files, you can do it manually via FTP:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>How to update WordPress files via FTP?<\/strong><\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Download the latest version of WordPress from the official site.<\/li>\n\n\n\n<li>Unzip the downloaded archive on your computer.<\/li>\n\n\n\n<li>Connect to the server using an FTP client (such as FileZilla).<\/li>\n\n\n\n<li>Navigate to the directory where you installed WordPress.<\/li>\n\n\n\n<li>Copy all the files from the unzipped archive (excluding the\u00a0<code>wp-content<\/code>\u00a0folder ) to the server, overwriting the existing files.<\/li>\n\n\n\n<li>Once the copying is complete, log into the WordPress admin panel and follow the update instructions.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>How to force PHP version on some hosts?<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Although you can&#8217;t update PHP via FTP, on some hosts you can force a specific PHP version via <code>.htaccess<\/code> or <code>.user.ini<\/code> file .<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Change the PHP version in <code>.htaccess<\/code> (if your hosting allows it):<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add the following code to the beginning of the <code>.htaccess<\/code> file :<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>AddHandler application\/x-httpd-php82 .php\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">(Change <code>82<\/code> to the appropriate PHP version, such as <code>74<\/code> for PHP 7.4).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Change the PHP settings in <code>.user.ini<\/code> (if supported by the hosting):<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create or edit the <code>.user.ini<\/code> file in the WordPress root directory and add:<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>php_version 8.2\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Is it possible to force PHP version in <code>wp-config.php<\/code>?<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">No, the <code>wp-config.php<\/code> file does not allow you to change the PHP version. However, you can activate PHP debug mode to detect errors after PHP updates:<\/p>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>define('WP_DEBUG', true);\ndefine('WP_DEBUG_LOG', true);\ndefine('WP_DEBUG_DISPLAY', false);\n@ini_set('log_errors', 1);\n@ini_set('error_log', dirname(__FILE__) . '\/wp-errors.log');\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After updating PHP, it&#8217;s a good idea to monitor the <code>wp-errors.log<\/code> file to make sure all plugins and themes are working properly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Preparing the environment for a PHP upgrade on WordPress<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before you start updating the PHP on your WordPress site, it is crucial to ensure the security and stability of your site. The first step is to&nbsp;<a href=\"https:\/\/uniquedevs.com\/en\/blog\/how-to-backup-wordpress-site\/\">take a full backup<\/a>, to avoid data loss in case of unforeseen problems. Use tried-and-true backup plugins or take advantage of the tools offered by your hosting provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The next step is to check the compatibility of themes and plugins with the new PHP version. Perform the following steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Review the documentation of all plugins and themes you use for PHP requirements.<\/li>\n\n\n\n<li>Contact the plugin developers if you are unsure of compatibility.<\/li>\n\n\n\n<li>Conduct tests on your staging environment to ensure that the functionality of your site will not be negatively affected by the upgrade.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Also, don&#8217;t forget to update WordPress itself to the latest version, which can increase compatibility with the new PHP. Regularly monitoring your site&#8217;s performance after the update will help you quickly identify and resolve any issues, ensuring your site runs smoothly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Testing theme and plugin compatibility after a PHP update<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After a PHP update, it&#8217;s crucial to check that all themes and plugins work flawlessly. You can do this by:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Testowanie w \u015brodowisku stagingowym \u2013 przed wprowadzeniem zmian na stronie produkcyjnej.<\/li>\n\n\n\n<li>Korzystanie z wtyczek do testowania kompatybilno\u015bci \u2013 np. \u201ePHP Compatibility Checker\u201d.<\/li>\n\n\n\n<li>Monitorowanie log\u00f3w b\u0142\u0119d\u00f3w \u2013 je\u015bli zauwa\u017cysz problemy, sprawd\u017a logi serwera.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>FAQ &#8211; frequently asked questions<\/strong><\/h2>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Why update PHP?<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Newer PHP versions improve performance, security and compatibility with new WordPress features.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>How to check the PHP version in WordPress?<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Go to Tools &gt; Site Info &gt; Server, where you can find information about the current PHP version. You can also use the \u201cDisplay PHP Version\u201d plugin.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Will updating PHP affect the performance of my site?<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, it may affect the compatibility of plugins and themes. It is recommended to check the documentation and test on a staging environment.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>What if my site stops working after the update?<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">If your site stops working after a PHP update, follow the steps below:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sometimes errors after a PHP update can be caused by incompatible plugins or themes. Enable debug mode to see more details:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect to the server via <strong>FTP<\/strong> or hosting panel.<\/li>\n\n\n\n<li>Open the file <code>wp-config.php<\/code>.<\/li>\n\n\n\n<li>Add or edit the following lines:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code language-markup\"><code>define('WP_DEBUG', true);\ndefine('WP_DEBUG_LOG', true);\ndefine('WP_DEBUG_DISPLAY', false);\n@ini_set('log_errors', 1);\n@ini_set('error_log', dirname(__FILE__) . '\/wp-errors.log');\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">4 Check the <code>wp-errors.log<\/code> file in the WordPress root directory &#8211; you will find error details there.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you wondering how to safely and effectively update PHP on your WordPress site? In this article, we will take you step-by-step through the process of preparing your environment, choosing the right PHP version, upgrading on your hosting server, and testing the compatibility of themes and plugins. In addition, we will discuss the most common problems you may encounter, and present methods to optimize performance after the upgrade. With our tips, updating PHP in Wordpress will be fast, safe and without potential complications.<\/p>\n","protected":false},"author":4,"featured_media":4900,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[25],"tags":[],"class_list":["post-2269","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to upgrade PHP on wordpress? Explained | UniqueDevs<\/title>\n<meta name=\"description\" content=\"Update PHP wordpress - step by step in our guide. Check out how to go through the process quickly and without complications!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to upgrade PHP on wordpress? Explained | UniqueDevs\" \/>\n<meta property=\"og:description\" content=\"Update PHP wordpress - step by step in our guide. Check out how to go through the process quickly and without complications!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Software House - rozwi\u0105zania IT dla Twojego biznesu | UniqueDevs\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/people\/Unique-Devs\/61564365418277\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-03T11:20:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-06T14:43:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/uniquedevs.com\/wp-content\/uploads\/2025\/02\/wordpress-876983_1280.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Magda\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Magda\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/\"},\"author\":{\"name\":\"Magda\",\"@id\":\"https:\/\/uniquedevs.com\/#\/schema\/person\/ca7842de3cea0288fac70e86909b4ea7\"},\"headline\":\"PHP update in WordPress &#8211; how to do it safely and effectively?\",\"datePublished\":\"2025-02-03T11:20:03+00:00\",\"dateModified\":\"2025-02-06T14:43:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/\"},\"wordCount\":964,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/uniquedevs.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/uniquedevs.com\/wp-content\/uploads\/2025\/02\/wordpress-876983_1280.webp\",\"articleSection\":[\"Wordpress\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/\",\"url\":\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/\",\"name\":\"How to upgrade PHP on wordpress? Explained | UniqueDevs\",\"isPartOf\":{\"@id\":\"https:\/\/uniquedevs.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/uniquedevs.com\/wp-content\/uploads\/2025\/02\/wordpress-876983_1280.webp\",\"datePublished\":\"2025-02-03T11:20:03+00:00\",\"dateModified\":\"2025-02-06T14:43:20+00:00\",\"description\":\"Update PHP wordpress - step by step in our guide. Check out how to go through the process quickly and without complications!\",\"breadcrumb\":{\"@id\":\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#primaryimage\",\"url\":\"https:\/\/uniquedevs.com\/wp-content\/uploads\/2025\/02\/wordpress-876983_1280.webp\",\"contentUrl\":\"https:\/\/uniquedevs.com\/wp-content\/uploads\/2025\/02\/wordpress-876983_1280.webp\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Strona g\u0142\u00f3wna\",\"item\":\"https:\/\/uniquedevs.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Wordpress\",\"item\":\"https:\/\/uniquedevs.com\/blog\/category\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"PHP update in WordPress &#8211; how to do it safely and effectively?\"}]},{\"@type\":\"Website\",\"@id\":\"https:\/\/uniquedevs.com\/#website\",\"url\":\"https:\/\/uniquedevs.com\/\",\"name\":\"Software House - rozwi\u0105zania IT dla Twojego biznesu | UniqueDevs\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/uniquedevs.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/uniquedevs.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},[],{\"@type\":\"Person\",\"@id\":\"https:\/\/uniquedevs.com\/#\/schema\/person\/ca7842de3cea0288fac70e86909b4ea7\",\"name\":\"Magda\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/uniquedevs.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/uniquedevs.com\/wp-content\/litespeed\/avatar\/8bbb42f3f1b67ba6d7d3e95d75a7313a.jpg?ver=1786517656\",\"contentUrl\":\"https:\/\/uniquedevs.com\/wp-content\/litespeed\/avatar\/8bbb42f3f1b67ba6d7d3e95d75a7313a.jpg?ver=1786517656\",\"caption\":\"Magda\"},\"description\":\"jestem technicznym copywriterem w UniqueDevs. Specjalizuj\u0119 si\u0119 w temacie technologii frontendowych oraz UX. Uwielbiam pisa\u0107 o tworzeniu stron internetowych i User Experience co doskonale si\u0119 \u0142\u0105czy. Codziennie poszerzam swoj\u0105 wiedz\u0119, czytaj\u0105c i ucz\u0105c si\u0119 wszechstronnych aspekt\u00f3w technologii. W codziennej pracy komunikuj\u0119 si\u0119 z web developerami co pomaga mi zrozumie\u0107 jak technologie frontendowe dzia\u0142aj\u0105 w praktyce.\",\"url\":\"https:\/\/uniquedevs.com\/en\/blog\/author\/m_mroczka\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to upgrade PHP on wordpress? Explained | UniqueDevs","description":"Update PHP wordpress - step by step in our guide. Check out how to go through the process quickly and without complications!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"How to upgrade PHP on wordpress? Explained | UniqueDevs","og_description":"Update PHP wordpress - step by step in our guide. Check out how to go through the process quickly and without complications!","og_url":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/","og_site_name":"Software House - rozwi\u0105zania IT dla Twojego biznesu | UniqueDevs","article_publisher":"https:\/\/www.facebook.com\/people\/Unique-Devs\/61564365418277\/","article_published_time":"2025-02-03T11:20:03+00:00","article_modified_time":"2025-02-06T14:43:20+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/uniquedevs.com\/wp-content\/uploads\/2025\/02\/wordpress-876983_1280.webp","type":"image\/webp"}],"author":"Magda","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Magda","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#article","isPartOf":{"@id":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/"},"author":{"name":"Magda","@id":"https:\/\/uniquedevs.com\/#\/schema\/person\/ca7842de3cea0288fac70e86909b4ea7"},"headline":"PHP update in WordPress &#8211; how to do it safely and effectively?","datePublished":"2025-02-03T11:20:03+00:00","dateModified":"2025-02-06T14:43:20+00:00","mainEntityOfPage":{"@id":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/"},"wordCount":964,"commentCount":0,"publisher":{"@id":"https:\/\/uniquedevs.com\/#organization"},"image":{"@id":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/uniquedevs.com\/wp-content\/uploads\/2025\/02\/wordpress-876983_1280.webp","articleSection":["Wordpress"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/","url":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/","name":"How to upgrade PHP on wordpress? Explained | UniqueDevs","isPartOf":{"@id":"https:\/\/uniquedevs.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/uniquedevs.com\/wp-content\/uploads\/2025\/02\/wordpress-876983_1280.webp","datePublished":"2025-02-03T11:20:03+00:00","dateModified":"2025-02-06T14:43:20+00:00","description":"Update PHP wordpress - step by step in our guide. Check out how to go through the process quickly and without complications!","breadcrumb":{"@id":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#primaryimage","url":"https:\/\/uniquedevs.com\/wp-content\/uploads\/2025\/02\/wordpress-876983_1280.webp","contentUrl":"https:\/\/uniquedevs.com\/wp-content\/uploads\/2025\/02\/wordpress-876983_1280.webp","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/uniquedevs.com\/en\/blog\/php-update-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Strona g\u0142\u00f3wna","item":"https:\/\/uniquedevs.com\/en\/"},{"@type":"ListItem","position":2,"name":"Wordpress","item":"https:\/\/uniquedevs.com\/blog\/category\/wordpress\/"},{"@type":"ListItem","position":3,"name":"PHP update in WordPress &#8211; how to do it safely and effectively?"}]},{"@type":"Website","@id":"https:\/\/uniquedevs.com\/#website","url":"https:\/\/uniquedevs.com\/","name":"Software House - rozwi\u0105zania IT dla Twojego biznesu | UniqueDevs","description":"","publisher":{"@id":"https:\/\/uniquedevs.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/uniquedevs.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},[],{"@type":"Person","@id":"https:\/\/uniquedevs.com\/#\/schema\/person\/ca7842de3cea0288fac70e86909b4ea7","name":"Magda","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/uniquedevs.com\/#\/schema\/person\/image\/","url":"https:\/\/uniquedevs.com\/wp-content\/litespeed\/avatar\/8bbb42f3f1b67ba6d7d3e95d75a7313a.jpg?ver=1786517656","contentUrl":"https:\/\/uniquedevs.com\/wp-content\/litespeed\/avatar\/8bbb42f3f1b67ba6d7d3e95d75a7313a.jpg?ver=1786517656","caption":"Magda"},"description":"jestem technicznym copywriterem w UniqueDevs. Specjalizuj\u0119 si\u0119 w temacie technologii frontendowych oraz UX. Uwielbiam pisa\u0107 o tworzeniu stron internetowych i User Experience co doskonale si\u0119 \u0142\u0105czy. Codziennie poszerzam swoj\u0105 wiedz\u0119, czytaj\u0105c i ucz\u0105c si\u0119 wszechstronnych aspekt\u00f3w technologii. W codziennej pracy komunikuj\u0119 si\u0119 z web developerami co pomaga mi zrozumie\u0107 jak technologie frontendowe dzia\u0142aj\u0105 w praktyce.","url":"https:\/\/uniquedevs.com\/en\/blog\/author\/m_mroczka\/"}]}},"_links":{"self":[{"href":"https:\/\/uniquedevs.com\/en\/wp-json\/wp\/v2\/posts\/2269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uniquedevs.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/uniquedevs.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/uniquedevs.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/uniquedevs.com\/en\/wp-json\/wp\/v2\/comments?post=2269"}],"version-history":[{"count":1,"href":"https:\/\/uniquedevs.com\/en\/wp-json\/wp\/v2\/posts\/2269\/revisions"}],"predecessor-version":[{"id":2271,"href":"https:\/\/uniquedevs.com\/en\/wp-json\/wp\/v2\/posts\/2269\/revisions\/2271"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/uniquedevs.com\/en\/wp-json\/wp\/v2\/media\/4900"}],"wp:attachment":[{"href":"https:\/\/uniquedevs.com\/en\/wp-json\/wp\/v2\/media?parent=2269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/uniquedevs.com\/en\/wp-json\/wp\/v2\/categories?post=2269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/uniquedevs.com\/en\/wp-json\/wp\/v2\/tags?post=2269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}