{"id":46411,"date":"2023-09-25T12:30:00","date_gmt":"2023-09-25T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=46411"},"modified":"2023-08-18T04:05:11","modified_gmt":"2023-08-18T09:05:11","slug":"how-to-install-cakephp-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/","title":{"rendered":"How to Install CakePHP on Ubuntu 22.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-install-cakephp-on-ubuntu-22-04.webp\" alt=\"how to install cakephp on ubuntu 22.04\" class=\"wp-image-46782\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-install-cakephp-on-ubuntu-22-04.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-install-cakephp-on-ubuntu-22-04-300x109.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-install-cakephp-on-ubuntu-22-04-150x54.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-install-cakephp-on-ubuntu-22-04-768x279.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>CakePHP is an open-source PHP framework. It allows you to build web applications simpler and faster and requires less code. CakePHP is developed using Hierarchical Model View Controller (HMVC) architecture. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>It supports many languages, and it is easy for developers to create multiple types of applications. In this tutorial, we will show you how to <a href=\"https:\/\/www.rosehosting.com\/cakephp-hosting\/\">install CakePHP<\/a> on Ubuntu 22.04.<\/p>\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-69ed774f816a4\" 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-69ed774f816a4\"  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-cakephp-on-ubuntu-22-04\/#Prerequisites\" >Prerequisites<\/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-cakephp-on-ubuntu-22-04\/#Step-1-Login-to-the-server\" >Step 1. Login to the server<\/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-cakephp-on-ubuntu-22-04\/#Step-2-Install-Apache-and-PHP\" >Step 2. Install Apache and PHP<\/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-cakephp-on-ubuntu-22-04\/#Step-3-Install-Composer\" >Step 3. Install Composer<\/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-cakephp-on-ubuntu-22-04\/#Step-4-Install-MariaDB-Server-and-Create-a-Database\" >Step 4. Install MariaDB Server and Create a Database<\/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-cakephp-on-ubuntu-22-04\/#Step-5-Create-CakePHP-Project\" >Step 5. Create CakePHP Project<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/#Step-6-Configure-Apache\" >Step 6. Configure Apache<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><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>Ubuntu 22.04 server<\/li>\n\n\n\n<li>SSH root access or a regular system user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Login-to-the-server\"><\/span>Step 1. Login to the server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First, log in to your Ubuntu 22.04 server through SSH as the root user:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># ssh root@IP_Address -p Port_number<\/pre>\n\n\n\n<p>You would need to substitute the \u2018IP_Address\u2018 and \u2018Port_number\u2018 with your server\u2019s respective IP address and SSH port number. Additionally, replace \u2018root\u2019 with the username of the system user with sudo privileges.<\/p>\n\n\n\n<p>You can check whether you have the proper Ubuntu version installed on your server with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># lsb_release -a<\/pre>\n\n\n\n<p>You should get this output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">No LSB modules are available.<br>Distributor ID: Ubuntu<br>Description: Ubuntu 22.04.2 LTS<br>Release: 22.04<br>Codename: jammy<\/pre>\n\n\n\n<p>Before starting, you have to make sure that all Ubuntu OS packages installed on the server are up to date. You can do this by running the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt update -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Install-Apache-and-PHP\"><\/span>Step 2. Install Apache and PHP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>CakePHP supports Apache, nginx and even Microsoft IIS. Apache is regarded as the most extensively utilized and user-friendly web server software. It is fast, secure, reliable, and can be effortlessly tailored according to your requirements. In this step, we are going to install Apache and PHP with its extensions.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install apache2 libapache2-mod-php php-{mysql,mbstring,intl,xml}<\/pre>\n\n\n\n<p>On the Ubuntu system, Apache will be up and running upon installation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Install-Composer\"><\/span>Step 3. Install Composer<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>CakePHP utilizes Composer, a tool for managing dependencies, as the officially endorsed approach for installation. Composer is not available on Ubuntu 22.04 default repository. Let&#8217;s execute the following command below to download the Composer installer using the wget command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># wget -O composer-setup.php https:\/\/getcomposer.org\/installer<\/pre>\n\n\n\n<p>Once downloaded, we need to execute the following command to install and setup composer on our Ubuntu machine:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># php composer-setup.php --install-dir=\/usr\/local\/bin --filename=composer<\/pre>\n\n\n\n<p>Verify the installation and check the installed build version of Composer:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># composer -V<\/pre>\n\n\n\n<p>The command above will return an output like this.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Composer version 2.5.8 2023-06-09 17:13:21<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Install-MariaDB-Server-and-Create-a-Database\"><\/span>Step 4. Install MariaDB Server and Create a Database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>CakePHP supports MySQL (5.6 or higher), MariaDB (5.6 or higher), PostgreSQL (9.4 or higher), Microsoft SQL Server (2012 or higher), and SQLite 3. In this step, we are going to install the MariaDB server from the default Ubuntu repository. To install the MariaDB server, execute this command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install mariadb-server<\/pre>\n\n\n\n<p>After installing the MariaDB server on an Ubuntu system, the MariaDB server will be running automatically. Therefore, we can now continue by creating a fresh database and database user for our vTiger website. Let&#8217;s login to MySQL shell as root user and create a database for our vTiger CRM website.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># mysql<\/pre>\n\n\n\n<p>Once logged in to MySQL shell, we can run the following commands.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql&gt; CREATE DATABASE cakephp;\nmysql&gt; GRANT ALL on cakephp.* to cakephp@localhost identified by 'm0d1fyth15';\nmysql&gt; FLUSH PRIVILEGES;\nmysql&gt; \\q<\/pre>\n\n\n\n<p>Make sure to create a more complicated database password and replace m0d1fyth15 in the command above with a more secure one.<\/p>\n\n\n\n<p>The next step is optional but highly recommended. We need to create a password for our MySQL root user. Let&#8217;s invoke this command to proceed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Create-CakePHP-Project\"><\/span>Step 5. Create CakePHP Project<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Once composer, a dependency management tool, has been installed on your computer, we can proceed to create a CakePHP application called &#8216;project2023&#8217; using the commands provided below. You can change &#8216;project2023&#8217; with any project name you like. This will create a directory called &#8216;project2023&#8217; in the directory where you execute the command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># cd \/var\/www\/html\n# composer create-project --prefer-dist cakephp\/app project2023<\/pre>\n\n\n\n<p>At the end of the <strong>project2023 <\/strong>installation, it will prompt you to set the permission. Type <strong>Y<\/strong>, then enter to set the permission.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Set Folder Permissions ? (Default to Y) [Y,n]?<br>Permissions set on \/var\/www\/html\/project2023\/tmp\/cache<br>Permissions set on \/var\/www\/html\/project2023\/tmp\/cache\/models<br>Permissions set on \/var\/www\/html\/project2023\/tmp\/cache\/persistent<br>Permissions set on \/var\/www\/html\/project2023\/tmp\/cache\/views<br>Permissions set on \/var\/www\/html\/project2023\/tmp\/sessions<br>Permissions set on \/var\/www\/html\/project2023\/tmp\/tests<br>Permissions set on \/var\/www\/html\/project2023\/tmp<br>Permissions set on \/var\/www\/html\/project2023\/logs<br>Updated Security.salt value in config\/app_local.php<\/pre>\n\n\n\n<p>Once finished, we can edit the app_local.php file to connect CakePHP to our database.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">nano \/var\/www\/html\/project2023\/config\/app_local.php<\/pre>\n\n\n\n<p>Make sure to edit the required information using the database credentials we created in the previous step.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"687\" height=\"297\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/cakephp-modify-database-details.webp\" alt=\"\" class=\"wp-image-46780\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/cakephp-modify-database-details.webp 687w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/cakephp-modify-database-details-300x130.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/cakephp-modify-database-details-150x65.webp 150w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/><\/figure>\n<\/div>\n\n\n<p>Next, we need to correct the file and directory ownership.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># chown -R www-data. \/var\/www\/html\/project2023<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Configure-Apache\"><\/span>Step 6. Configure Apache<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this last step, we will create an Apache virtual host for our CakePHP website. Although CakePHP provides us with a built-in web server, we will use Apache as the webserver because this is for a production server.<\/p>\n\n\n\n<p>Let&#8217;s create the virtual host now.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># nano \/etc\/apache2\/sites-available\/cakephp.yourdomain.com.conf<\/pre>\n\n\n\n<p>Insert the following into the file.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;VirtualHost *:80&gt;\n\nServerAdmin admin@yourdomain.com\nServerName cakephp.yourdomain.com\nDocumentRoot \/var\/www\/html\/project2023\/\n\n&lt;Directory \/var\/www\/html\/project2023\/&gt; \n    AllowOverride All\n    Require all granted\n&lt;\/Directory&gt; \n\nErrorLog ${APACHE_LOG_DIR}\/yourdomain.com_error.log\nCustomLog ${APACHE_LOG_DIR}\/yourdomain.com_access.log combined\n\n&lt;\/VirtualHost&gt;\n<\/code><\/pre>\n\n\n\n<p>Make sure to replace cakephp.yourdomain.com with your actual domain or subdomain pointing to your server. Save the file, then exit.<\/p>\n\n\n\n<p>Please note that we also need to enable mod_rewrite. The mod_rewrite module is installed by default on Ubuntu machines; we just need to enable the module and then activate it by restarting Apache.<\/p>\n\n\n\n<p>To enable mod_rewrite, let&#8217;s run this command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># a2enmod rewrite<\/pre>\n\n\n\n<p>Then, restart Apache to apply the changes we made, then navigate to your http:\/\/cakephp.yourdomain.com.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl restart apache2<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"696\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/cakephp-welcome.webp\" alt=\"\" class=\"wp-image-46781\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/cakephp-welcome.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/cakephp-welcome-300x204.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/cakephp-welcome-150x102.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/cakephp-welcome-768x522.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>At this point, you should be able to access your CakePHP website at http:\/\/cakephp.yourdomain.com using any web browser you like.<\/p>\n\n\n\n<p>That&#8217;s it all! You have successfully installed CakePHP on Ubuntu 22.04.<\/p>\n\n\n\n<p>Of course, you don\u2019t have to spend your time <a href=\"https:\/\/cakephp.org\/\">installing CakePHP<\/a> on Ubuntu 22.04 if you have a managed Linux VPS hosting plan hosted with us. If you do, you can simply ask our support team to install CakePHP on Ubuntu 22.04 for you. They are available 24\/7 and will be able to help you with the installation of CakePHP as well as any additional requirements that you may have.<\/p>\n\n\n\n<p>PS. If you enjoyed reading this blog post on how to install CakePHP on <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">Ubuntu 22.04<\/a>, feel free to share it on social networks or simply leave a comment in the comments section. Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CakePHP is an open-source PHP framework. It allows you to build web applications simpler and faster and requires less code. &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install CakePHP on Ubuntu 22.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/#more-46411\" aria-label=\"Read more about How to Install CakePHP on Ubuntu 22.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":46782,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2072,13,1698,1712],"tags":[463,59],"class_list":["post-46411","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source","category-tutorials","category-ubuntu","category-web-frameworks","tag-cakephp","tag-ubuntu","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.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install CakePHP on Ubuntu 22.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install CakePHP on Ubuntu 22.04. This tutorial covers the step-by-step process, from pre-requisites to configuration.\" \/>\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-cakephp-on-ubuntu-22-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 CakePHP on Ubuntu 22.04\" \/>\n<meta property=\"og:description\" content=\"Learn how to install CakePHP on Ubuntu 22.04. This tutorial covers the step-by-step process, from pre-requisites to configuration.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-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=\"2023-09-25T17:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-install-cakephp-on-ubuntu-22-04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\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:title\" content=\"How to Install CakePHP on Ubuntu 22.04\" \/>\n<meta name=\"twitter:description\" content=\"Learn how to install CakePHP on Ubuntu 22.04. This tutorial covers the step-by-step process, from pre-requisites to configuration.\" \/>\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=\"6 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-cakephp-on-ubuntu-22-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-cakephp-on-ubuntu-22-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install CakePHP on Ubuntu 22.04\",\"datePublished\":\"2023-09-25T17:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-cakephp-on-ubuntu-22-04\\\/\"},\"wordCount\":888,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-cakephp-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/how-to-install-cakephp-on-ubuntu-22-04.webp\",\"keywords\":[\"cakephp\",\"ubuntu\"],\"articleSection\":[\"Open-source\",\"Tutorials\",\"Ubuntu\",\"Web Frameworks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-cakephp-on-ubuntu-22-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-cakephp-on-ubuntu-22-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-cakephp-on-ubuntu-22-04\\\/\",\"name\":\"How to Install CakePHP on Ubuntu 22.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-cakephp-on-ubuntu-22-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-cakephp-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/how-to-install-cakephp-on-ubuntu-22-04.webp\",\"datePublished\":\"2023-09-25T17:30:00+00:00\",\"description\":\"Learn how to install CakePHP on Ubuntu 22.04. This tutorial covers the step-by-step process, from pre-requisites to configuration.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-cakephp-on-ubuntu-22-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-cakephp-on-ubuntu-22-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-cakephp-on-ubuntu-22-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/how-to-install-cakephp-on-ubuntu-22-04.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/how-to-install-cakephp-on-ubuntu-22-04.webp\",\"width\":1024,\"height\":372,\"caption\":\"how to install cakephp on ubuntu 22.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-cakephp-on-ubuntu-22-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install CakePHP on Ubuntu 22.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 CakePHP on Ubuntu 22.04 | RoseHosting","description":"Learn how to install CakePHP on Ubuntu 22.04. This tutorial covers the step-by-step process, from pre-requisites to configuration.","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-cakephp-on-ubuntu-22-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install CakePHP on Ubuntu 22.04","og_description":"Learn how to install CakePHP on Ubuntu 22.04. This tutorial covers the step-by-step process, from pre-requisites to configuration.","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2023-09-25T17:30:00+00:00","og_image":[{"width":1024,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-install-cakephp-on-ubuntu-22-04.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Install CakePHP on Ubuntu 22.04","twitter_description":"Learn how to install CakePHP on Ubuntu 22.04. This tutorial covers the step-by-step process, from pre-requisites to configuration.","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install CakePHP on Ubuntu 22.04","datePublished":"2023-09-25T17:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/"},"wordCount":888,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-install-cakephp-on-ubuntu-22-04.webp","keywords":["cakephp","ubuntu"],"articleSection":["Open-source","Tutorials","Ubuntu","Web Frameworks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/","name":"How to Install CakePHP on Ubuntu 22.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-install-cakephp-on-ubuntu-22-04.webp","datePublished":"2023-09-25T17:30:00+00:00","description":"Learn how to install CakePHP on Ubuntu 22.04. This tutorial covers the step-by-step process, from pre-requisites to configuration.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-install-cakephp-on-ubuntu-22-04.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/08\/how-to-install-cakephp-on-ubuntu-22-04.webp","width":1024,"height":372,"caption":"how to install cakephp on ubuntu 22.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-cakephp-on-ubuntu-22-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install CakePHP on Ubuntu 22.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\/46411","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=46411"}],"version-history":[{"count":5,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/46411\/revisions"}],"predecessor-version":[{"id":46783,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/46411\/revisions\/46783"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/46782"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=46411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=46411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=46411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}