{"id":51696,"date":"2026-04-13T12:30:00","date_gmt":"2026-04-13T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=51696"},"modified":"2026-03-16T04:22:48","modified_gmt":"2026-03-16T09:22:48","slug":"how-to-install-php-8-3-on-ubuntu-26-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/","title":{"rendered":"How to Install PHP 8.3 on Ubuntu 26.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2026\/04\/how-to-install-php-8.3-on-ubuntu-26.04.webp\" alt=\"How to Install PHP 8.3 on Ubuntu 26.04\" class=\"wp-image-51742\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2026\/04\/how-to-install-php-8.3-on-ubuntu-26.04.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2026\/04\/how-to-install-php-8.3-on-ubuntu-26.04-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2026\/04\/how-to-install-php-8.3-on-ubuntu-26.04-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2026\/04\/how-to-install-php-8.3-on-ubuntu-26.04-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>In this blog post, we will show you how to install PHP 8.3 on Ubuntu 26.04. PHP (Hypertext Preprocessor) is a widely used server-side scripting language designed mainly for web development. It runs on a web server and generates dynamic content that is sent to the user\u2019s browser. PHP is commonly used to build websites and web applications by interacting with databases, handling forms, managing sessions, and creating personalized content. For example, PHP can process login systems, upload files, or display information stored in a database. It works well with databases such as MySQL and can be embedded directly into HTML. Because it is open-source, easy to learn, and supported by many hosting services, PHP remains a popular choice for developing dynamic websites. Moreover, the steps in this guide are tailored specifically for those who want to install PHP 8.3 on Ubuntu 26.04.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69dd400daeba2\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69dd400daeba2\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#Supported-Ways-for-installing-PHP-83-on-Ubuntu-2606\" >Supported Ways for installing PHP 8.3 on Ubuntu 26.06<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#Update-the-System\" >Update the System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#Method-1-Building-PHP-from-Source\" >Method 1. Building PHP from Source<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#Method-2-Installing-PHP-83-using-Docker-Container\" >Method 2. Installing PHP 8.3 using Docker Container<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#Wrap-Up\" >Wrap Up!<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-supported-ways-for-installing-php-8-3-on-ubuntu-26-06\"><span class=\"ez-toc-section\" id=\"Supported-Ways-for-installing-PHP-83-on-Ubuntu-2606\"><\/span>Supported Ways for installing PHP 8.3 on Ubuntu 26.06<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There are 2 supported ways to install PHP 8.3 on Ubuntu 26.04, and the installation time depends on the method used. Both approaches are suitable if your goal is to install PHP 8.3 on Ubuntu 26.04.<\/p>\n\n\n\n<p>PHP 8.3 <strong>is NOT in the default Ubuntu 26.04<\/strong> (non-LTS) apt repositories because Ubuntu&#8217;s default repositories freeze software versions early in the release cycle to ensure stability, and they do not always include the absolute latest PHP release. To get PHP 8.3, you must use a third-party PPA such as <strong>ppa:ondrej\/php<\/strong>.<\/p>\n\n\n\n<p>The ppa:ondrej\/php PPA is designed primarily for current, stable Ubuntu LTS releases and supported, non-EOL PHP versions. While it supports Ubuntu 22.04 and 24.04, support for future versions like 26.04 (due April 2026) will depend on whether Ond\u0159ej Sur\u00fd maintains it for that release. At the moment we write the tutorial, the PPA Ondrej was not supported for Ubuntu 26.04.<\/p>\n\n\n\n<p>One of the supported methods is installing <strong>PHP 8.3 from source<\/strong>. Installing PHP 8.3 from source means downloading the raw, uncompiled source code, configuring it to match the system\u2019s specifications, compiling it with a compiler (like GCC), and installing it manually. Unlike installing via a package manager (apt, yum, brew), this method bypasses pre-packaged binaries.<\/p>\n\n\n\n<p>The second supported method is <strong>using a Docker container<\/strong>. PHP 8.3 can also run inside a Docker container without installing it directly on Ubuntu.<\/p>\n\n\n\n<p>We will explain these two methods in the next headings. Let&#8217;s get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-prerequisites\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">server running Ubuntu 26.04<\/a> OS<\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-update-the-system\"><span class=\"ez-toc-section\" id=\"Update-the-System\"><\/span>Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before we start installing PHP 8.3, we will update the system packages to their latest versions. Execute the following command to help prepare for the process of installing PHP 8.3 on Ubuntu 26.04.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt update -y &amp;&amp; apt upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-method-1-building-php-from-source\"><span class=\"ez-toc-section\" id=\"Method-1-Building-PHP-from-Source\"><\/span>Method 1. Building PHP from Source<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The installation of PHP 8.3 on Ubuntu 26.04 from source requires downloading PHP 8.3, configuring and compiling, and finally installing. We will go through all these steps, but first, we need to install some prerequisites:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt install -y build-essential libxml2-dev libsqlite3-dev zlib1g-dev libcurl4-openssl-dev libonig-dev libzip-dev libpng-dev libjpeg-dev libfreetype6-dev libssl-dev pkg-config<\/pre>\n\n\n\n<p>Once the prerequisites are installed, we can download the PHP 8.3 source files:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/opt<br><br>wget https:\/\/www.php.net\/distributions\/php-8.3.20.tar.gz<br><br>tar -xzf php-8.3.20.tar.gz<br><br>cd php-8.3.20<\/pre>\n\n\n\n<p>Next is to configure the PHP with the PHP extensions:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.\/configure --prefix=\/usr\/local\/php8.3 \\<br>    --with-config-file-path=\/usr\/local\/php8.3\/etc \\<br>    --enable-fpm \\<br>    --with-fpm-user=www-data \\<br>    --with-fpm-group=www-data \\<br>    --with-mysqli \\<br>    --with-pdo-mysql \\<br>    --with-openssl \\<br>    --with-zlib \\<br>    --with-curl \\<br>    --with-gd \\<br>    --with-mbstring \\<br>    --enable-intl \\<br>    --enable-zi<\/pre>\n\n\n\n<p>Once, compile the PHP with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">make -j$(nproc)<\/pre>\n\n\n\n<p>You should allow some time for the compilation process to finish. It took 10 minutes when we compiled it. Once the compilation is done, we can install PHP 8.3 with the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">make install<\/pre>\n\n\n\n<p>After the installation, we need to make a symbolic link:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ln -s \/usr\/local\/php8.3\/bin\/php \/usr\/bin\/php<\/pre>\n\n\n\n<p>Now you can check the installed version with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">php -v<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:\/opt\/php-8.3.20# php -v<br>PHP 8.3.20 (cli) (built: Mar  7 2026 06:11:31) (NTS)<br>Copyright (c) The PHP Group<br>Zend Engine v4.3.20, Copyright (c) Zend Technologies<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-method-2-installing-php-8-3-using-docker-container\"><span class=\"ez-toc-section\" id=\"Method-2-Installing-PHP-83-using-Docker-Container\"><\/span>Method 2. Installing PHP 8.3 using Docker Container<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First, we need to install the Docker service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt update -y<br><br>apt install docker.io -y<\/pre>\n\n\n\n<p>Once installed, start and enable the Docker service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl start docker &amp;&amp; systemctl enable docker<\/pre>\n\n\n\n<p>To check the status of the Docker service, you can use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl status docker<\/pre>\n\n\n\n<p>You should get output similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# systemctl status docker<br>\u25cf docker.service - Docker Application Container Engine<br>     Loaded: loaded (\/usr\/lib\/systemd\/system\/docker.service; enabled; preset: enabled)<br>     Active: active (running) since Sat 2026-03-07 09:21:32 CST; 5min ago<br> Invocation: 8456a833e7a148909a9f325eb1fb25a5<br>TriggeredBy: \u25cf docker.socket<br>       Docs: https:\/\/docs.docker.com<br>   Main PID: 117557 (dockerd)<br>      Tasks: 10<br>     Memory: 29.6M (peak: 86.8M)<br>        CPU: 12.441s<br>     CGroup: \/system.slice\/docker.service<br>             \u2514\u2500117557 \/usr\/bin\/dockerd -H fd:\/\/ --containerd=\/run\/containerd\/containerd.sock<\/pre>\n\n\n\n<p>Now, when Docker is installed, we can pull the PHP 8.3 image from the Docker repositories:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">docker pull php:8.3-cli<\/pre>\n\n\n\n<p>The process will start, and it should look like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# docker pull php:8.3-cli<br>8.3-cli: Pulling from library\/php<br>29f17720e7be: Pull complete <br>926bfbd3e67c: Download complete <br>f7de7bb0f053: Download complete <br>0e8d3ba128a5: Download complete<br>    .<br>    .<br>    .<br>    .<br>e0dbf5130f7b: Download complete <br>8388df94b723: Download complete <br>Digest: sha256:5e792a31b25c74d2453a7f06e0747c8b122879cc58bcefac66fa3699cd747e3a<br>Status: Downloaded newer image for php:8.3-cli<br>docker.io\/library\/php:8.3-cli<\/pre>\n\n\n\n<p>Once the image is downloaded, we can run the PHP 8.3 Docker container with the <strong>docker run &#8211;rm php:8.3-cli<\/strong> and the php command as we normally do:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">docker run --rm php:8.3-cli php -v<\/pre>\n\n\n\n<p>You should receive the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# docker run --rm php:8.3-cli php -v<br>PHP 8.3.30 (cli) (built: Feb 24 2026 19:11:27) (NTS)<br>Copyright (c) The PHP Group<br>Zend Engine v4.3.30, Copyright (c) Zend Technologies<br>    with Zend OPcache v8.3.30, Copyright (c), by Zend Technologies<\/pre>\n\n\n\n<p>Because the container was started with the <strong>&#8211;rm<\/strong> flag, Docker will automatically remove the container after you exit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-wrap-up\"><span class=\"ez-toc-section\" id=\"Wrap-Up\"><\/span>Wrap Up!<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>That\u2019s it all! You have successfully installed PHP 8.3 on Ubuntu 26.04 by following this tutorial.<\/p>\n\n\n\n<p>If you are one of our customers and use our <a href=\"https:\/\/www.rosehosting.com\/php-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">managed PHP hosting<\/a>, you don\u2019t have to follow this tutorial and install PHP 8.3 on Ubuntu 26.04 yourself. Our experienced Linux admins will set up and configure a PHP 8.3 for you. Additionally, you can contact us if you need assistance to install PHP 8.3 on Ubuntu 26.04. They are available 24\u00d77 and will take care of your request immediately. Submit a ticket.<\/p>\n\n\n\n<p>If you liked this post, please share it with your friends or leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog post, we will show you how to install PHP 8.3 on Ubuntu 26.04. PHP (Hypertext Preprocessor) is &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install PHP 8.3 on Ubuntu 26.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#more-51696\" aria-label=\"Read more about How to Install PHP 8.3 on Ubuntu 26.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":51742,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1698],"tags":[1603,2309,2308],"class_list":["post-51696","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-how-to-install","tag-php-8-3","tag-ubuntu-26-04","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install PHP 8.3 on Ubuntu 26.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Easily install PHP 8.3 on Ubuntu 26.04 and enhance your web development projects with our detailed tutorial.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install PHP 8.3 on Ubuntu 26.04\" \/>\n<meta property=\"og:description\" content=\"How to Install PHP 8.3 on Ubuntu 26.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-13T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2026\/04\/how-to-install-php-8.3-on-ubuntu-26.04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install PHP 8.3 on Ubuntu 26.04\",\"datePublished\":\"2026-04-13T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/\"},\"wordCount\":777,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/how-to-install-php-8.3-on-ubuntu-26.04.webp\",\"keywords\":[\"how to install\",\"php 8.3\",\"ubuntu 26.04\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/\",\"name\":\"How to Install PHP 8.3 on Ubuntu 26.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/how-to-install-php-8.3-on-ubuntu-26.04.webp\",\"datePublished\":\"2026-04-13T17:30:00+00:00\",\"description\":\"Easily install PHP 8.3 on Ubuntu 26.04 and enhance your web development projects with our detailed tutorial.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/how-to-install-php-8.3-on-ubuntu-26.04.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/how-to-install-php-8.3-on-ubuntu-26.04.webp\",\"width\":1024,\"height\":576,\"caption\":\"How to Install PHP 8.3 on Ubuntu 26.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-php-8-3-on-ubuntu-26-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install PHP 8.3 on Ubuntu 26.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install PHP 8.3 on Ubuntu 26.04 | RoseHosting","description":"Easily install PHP 8.3 on Ubuntu 26.04 and enhance your web development projects with our detailed tutorial.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install PHP 8.3 on Ubuntu 26.04","og_description":"How to Install PHP 8.3 on Ubuntu 26.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2026-04-13T17:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2026\/04\/how-to-install-php-8.3-on-ubuntu-26.04.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install PHP 8.3 on Ubuntu 26.04","datePublished":"2026-04-13T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/"},"wordCount":777,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2026\/04\/how-to-install-php-8.3-on-ubuntu-26.04.webp","keywords":["how to install","php 8.3","ubuntu 26.04"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/","name":"How to Install PHP 8.3 on Ubuntu 26.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2026\/04\/how-to-install-php-8.3-on-ubuntu-26.04.webp","datePublished":"2026-04-13T17:30:00+00:00","description":"Easily install PHP 8.3 on Ubuntu 26.04 and enhance your web development projects with our detailed tutorial.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2026\/04\/how-to-install-php-8.3-on-ubuntu-26.04.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2026\/04\/how-to-install-php-8.3-on-ubuntu-26.04.webp","width":1024,"height":576,"caption":"How to Install PHP 8.3 on Ubuntu 26.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-php-8-3-on-ubuntu-26-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install PHP 8.3 on Ubuntu 26.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/51696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=51696"}],"version-history":[{"count":4,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/51696\/revisions"}],"predecessor-version":[{"id":51743,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/51696\/revisions\/51743"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/51742"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=51696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=51696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=51696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}