{"id":4057,"date":"2014-09-09T13:51:45","date_gmt":"2014-09-09T18:51:45","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=4057"},"modified":"2022-12-13T14:34:36","modified_gmt":"2022-12-13T20:34:36","slug":"how-to-install-yii-framework-on-a-debian-vps-with-nginx","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/","title":{"rendered":"How to Install Yii Framework on a Debian VPS with Nginx"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignleft wp-image-4059 size-medium\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/yii-vps-300x64.png\" alt=\"yii vps\" width=\"300\" height=\"64\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/yii-vps-300x64.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/yii-vps.png 400w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>Yii is an open source, high performance PHP framework used for developing web 2.0\u00a0 applications.<br \/>\nIn this step-by-step tutorial, we will show you how to easily install Yii framework on your Debian based <a title=\"Debian VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">virtual server<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p><!--more--><\/p>\n<p>At the time of writing this tutorial, the latest stable version is Yii 1.1.15 and it requires:<\/p>\n<ul>\n<li>Web server (Apache, Nginx etc.) installed on your <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux virtual server<\/a>.<\/li>\n<li>PHP 5.1 or higher (the php5-fpm package is required for Nginx servers)<\/li>\n<\/ul>\n<p>If you have Apache installed on your server, stop the Apache service and remove Apache packages:<\/p>\n<pre>\/etc\/init.d\/apache2 stop\r\napt-get remove apache2*<\/pre>\n<p>Make sure your <a title=\"Debian VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian VPS<\/a> is fully up to date by using the following commands:<\/p>\n<pre>apt-get update\r\napt-get upgrade<\/pre>\n<p>In order to install Nginx, PHP-FPM and MySQL on your server, execute the following command:<\/p>\n<pre>apt-get install nginx php5-fpm php5-cli php5-mcrypt php5-gd mysql-client-5.5 mysql-server-5.5 mysql-server-core-5.5<\/pre>\n<p>Download the latest version of YII framework available at https:\/\/github.com\/yiisoft\/yii\/releases\/latest to the server:<\/p>\n<pre>cd \/root\r\nwget https:\/\/github.com\/yiisoft\/yii\/releases\/download\/1.1.15\/yii-1.1.15.022a51.tar.gz\r\nmkdir -p \/var\/www\/{your-domain.com,your-domain.com\/yii}<\/pre>\n<p>Extract the tar archive, rename &#8216;yii-1.1.15.022a51&#8217; directory to &#8216;yii&#8217; and move it to the &#8216;\/var\/www\/your-domain.com&#8217; directory using the following commands:<\/p>\n<pre>tar -xvf yii-1.1.15.022a51.tar.gz -C \/var\/www\/your-domain.com\/\r\nmv \/var\/www\/your-domain.com\/yii-1.1.15.022a51 \/var\/www\/your-domain.com\/yii\r\nchown www-data:www-data -R \/var\/www\/your-domain.com\/yii\r\n<\/pre>\n<p>Locate the PHP configuration file using the following command:<\/p>\n<pre>php5-fpm -i | grep php.ini\r\nConfiguration File (php.ini) Path =&gt; \/etc\/php5\/fpm\r\nLoaded Configuration File =&gt; \/etc\/php5\/fpm\/php.ini<\/pre>\n<p>Edit the \/etc\/php5\/fpm\/php.ini configuration file using the following command:<\/p>\n<pre>vi \/etc\/php5\/fpm\/php.ini<\/pre>\n<p>and add\/modify the following lines:<\/p>\n<pre>memory_limit = 128M\r\ncgi.fix_pathinfo = 0\r\nsafe_mode = Off\r\nmax_execution_time = 60\r\nmax_input_time = 60\r\n<\/pre>\n<p>Execute the following command to restart the php5-fpm service:<\/p>\n<pre>\/etc\/init.d\/php5-fpm restart<\/pre>\n<p>For performance reasons, our recommendation is to run php5-fpm in SOCKET mode, instead of accessing via &lt;IP_address&gt;:PORT.<\/p>\n<p>Create a new Nginx configuration file:<\/p>\n<pre>vi \/etc\/nginx\/sites-available\/your-domain.com<\/pre>\n<p>and add the following lines:<\/p>\n<pre>server {\r\n\tlisten 80;\r\n\tserver_name your-domain.com;\r\n\troot \/var\/www\/your-domain.com\/yii\/;\r\n\tindex index.php index.html;\r\n\taccess_log \/var\/log\/nginx\/your-domain.com-access.log;\r\n\terror_log \/var\/log\/nginx\/your-domain.com-error.log;\r\n\tset $yii_bootstrap \"index.php\";\r\n\tcharset utf-8;\r\n\r\nlocation \/ {\r\n        index  index.html $yii_bootstrap;\r\n        try_files $uri $uri\/ \/$yii_bootstrap?$args;\r\n    \t}\r\n\r\nlocation ~ ^\/(protected|framework|themes\/\\w+\/views) {\r\n        deny  all;\r\n    \t}\r\n\r\nlocation ~ \\.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {\r\n        try_files $uri =404;\r\n    \t}\r\n\r\nlocation ~ \\.php {\r\n\tfastcgi_index index.php;\r\n\tfastcgi_split_path_info ^(.+\\.php)(.*)$;\r\n\tset $fsn \/$yii_bootstrap;\r\n        if (-f $document_root$fastcgi_script_name){\r\n            set $fsn $fastcgi_script_name;\r\n        }\r\n\tinclude \/etc\/nginx\/fastcgi_params;\r\n\tfastcgi_pass unix:\/var\/run\/php5-fpm.sock;\r\n\tfastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\r\n\t}\r\n\r\nlocation ~ \/\\. {\r\n        deny all;\r\n        access_log off;\r\n        log_not_found off;\r\n    \t}\r\n}<\/pre>\n<p>Create a symbolic link using the following command:<\/p>\n<pre>ln -s \/etc\/nginx\/sites-available\/your-domain.com \/etc\/nginx\/sites-enabled\/your-domain.com<\/pre>\n<p>and restart the Nginx web server for the changes to take effect:<\/p>\n<pre>\/etc\/init.d\/nginx restart<\/pre>\n<p>Create a directory named &#8216;example&#8217; inside the &#8216;yii&#8217; directory:<\/p>\n<pre>mkdir -p \/var\/www\/your-domain.com\/yii\/example\r\nchown www-data:www-data \/var\/www\/your-domain.com\/yii\/example<\/pre>\n<p>and execute the following command:<\/p>\n<pre>php \/var\/www\/your-domain.com\/yii\/framework\/yiic.php webapp \/var\/www\/your-domain.com\/yii\/example\r\nCreate a Web application under '\/var\/www\/your-domain.com\/yii\/example'? (yes|no) [no]:yes<\/pre>\n<p>Now test the new project by navigating to http:\/\/your-domain.com\/example using a web browser.<\/p>\n<p>Yii framework has been installed now.<\/p>\n<p>Of course you don\u2019t have to do any of this if you use one of our <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Yii PHP Framework for you. They are available 24&#215;7 and will take care of your request immediately.<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS<\/span>.<\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yii is an open source, high performance PHP framework used for developing web 2.0\u00a0 applications. In this step-by-step tutorial, we &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Yii Framework on a Debian VPS with Nginx\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/#more-4057\" aria-label=\"Read more about How to Install Yii Framework on a Debian VPS with Nginx\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":4059,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700,13,1712,1707],"tags":[511,509,510],"class_list":["post-4057","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-tutorials","category-web-frameworks","category-web-servers","tag-install-yii-framework","tag-install-yii-on-a-debian-vps","tag-install-yii-with-nginx","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 Yii Framework on a Debian VPS with Nginx | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install Yii Framework on a Debian VPS with Nginx | RoseHosting\" \/>\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-yii-framework-on-a-debian-vps-with-nginx\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Yii Framework on a Debian VPS with Nginx\" \/>\n<meta property=\"og:description\" content=\"How to Install Yii Framework on a Debian VPS with Nginx | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/\" \/>\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=\"2014-09-09T18:51:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-13T20:34:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/yii-vps.png\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"86\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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-yii-framework-on-a-debian-vps-with-nginx\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Yii Framework on a Debian VPS with Nginx\",\"datePublished\":\"2014-09-09T18:51:45+00:00\",\"dateModified\":\"2022-12-13T20:34:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\\\/\"},\"wordCount\":382,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/07\\\/yii-vps.png\",\"keywords\":[\"install yii framework\",\"install yii on a debian vps\",\"install yii with nginx\"],\"articleSection\":[\"Debian\",\"Tutorials\",\"Web Frameworks\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\\\/\",\"name\":\"How to Install Yii Framework on a Debian VPS with Nginx | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/07\\\/yii-vps.png\",\"datePublished\":\"2014-09-09T18:51:45+00:00\",\"dateModified\":\"2022-12-13T20:34:36+00:00\",\"description\":\"How to Install Yii Framework on a Debian VPS with Nginx | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/07\\\/yii-vps.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/07\\\/yii-vps.png\",\"width\":400,\"height\":86,\"caption\":\"yii vps\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Yii Framework on a Debian VPS with Nginx\"}]},{\"@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 Yii Framework on a Debian VPS with Nginx | RoseHosting","description":"How to Install Yii Framework on a Debian VPS with Nginx | RoseHosting","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-yii-framework-on-a-debian-vps-with-nginx\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Yii Framework on a Debian VPS with Nginx","og_description":"How to Install Yii Framework on a Debian VPS with Nginx | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2014-09-09T18:51:45+00:00","article_modified_time":"2022-12-13T20:34:36+00:00","og_image":[{"width":400,"height":86,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/yii-vps.png","type":"image\/png"}],"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-yii-framework-on-a-debian-vps-with-nginx\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Yii Framework on a Debian VPS with Nginx","datePublished":"2014-09-09T18:51:45+00:00","dateModified":"2022-12-13T20:34:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/"},"wordCount":382,"commentCount":1,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/yii-vps.png","keywords":["install yii framework","install yii on a debian vps","install yii with nginx"],"articleSection":["Debian","Tutorials","Web Frameworks","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/","name":"How to Install Yii Framework on a Debian VPS with Nginx | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/yii-vps.png","datePublished":"2014-09-09T18:51:45+00:00","dateModified":"2022-12-13T20:34:36+00:00","description":"How to Install Yii Framework on a Debian VPS with Nginx | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/yii-vps.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/07\/yii-vps.png","width":400,"height":86,"caption":"yii vps"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-yii-framework-on-a-debian-vps-with-nginx\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Yii Framework on a Debian VPS with Nginx"}]},{"@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\/4057","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=4057"}],"version-history":[{"count":3,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/4057\/revisions"}],"predecessor-version":[{"id":44243,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/4057\/revisions\/44243"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/4059"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=4057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=4057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=4057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}