{"id":33445,"date":"2020-01-27T10:43:57","date_gmt":"2020-01-27T07:13:57","guid":{"rendered":"https:\/\/airoserver.com\/?p=2229"},"modified":"2022-04-03T14:25:54","modified_gmt":"2022-04-03T09:55:54","slug":"where-are-htaccess-and-php-ini-in-cyberpanel","status":"publish","type":"post","link":"https:\/\/airoserver.com\/fa\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/","title":{"rendered":"Where are .htaccess and PHP.ini in CyberPanel?"},"content":{"rendered":"<p>As you may know, CyberPanel is a free <a href=\"https:\/\/airoserver.com\/fa\/airoserver\/what-is-a-hosting-control-panel\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"control panel (opens in a new tab)\">control panel<\/a> that is supported on Linux. Earlier, we have explained about CyberPanel&#8217;s <a href=\"https:\/\/airoserver.com\/fa\/dedicated\/cyberpanel-installation-guide\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"installation (opens in a new tab)\">installation<\/a>, how to <a href=\"https:\/\/airoserver.com\/fa\/dedicated\/how-to-add-a-website-to-cyberpanel-and-get-a-free-ssl\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"add a website (opens in a new tab)\">add a website<\/a> to it and <a href=\"https:\/\/airoserver.com\/fa\/dedicated\/create-email-account-and-access-webmail-on-cyberpanel\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"create email accounts (opens in a new tab)\">create email accounts<\/a>. In this post, we are going to show you how you can find .htaccess and PHP.ini in this control panel.<\/p>\r\n\r\n\r\n\r\n<p>.htaccess is a configuration file that we can use to enable\/disable some of the <a href=\"https:\/\/airoserver.com\/fa\/dedicated\/web-server\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"web server (opens in a new tab)\">web server<\/a>&#8216;s functionality and features. PHP.ini a configuration file that is for running applications that need PHP. In most of the control panels, you can find these two important files in the File manager. However, you can&#8217;t find them in CyberPanel&#8217;s File manager. That&#8217;s why we wrote this post to help you find them.<\/p>\r\n\r\n\r\n\r\n<p><strong>*<\/strong>We need to mention that you have to log into the CyberPanel using the website you need those files for<strong>*<\/strong><\/p>\r\n\r\n\r\n\r\n<p><strong>Attention!<\/strong> Please make sure to have a copy of your files and codes before changing them. You can create a backup or simply copy the texts in the file you are editing and paste in on editing programs like <a href=\"https:\/\/notepad-plus-plus.org\/downloads\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Notepad++ (opens in a new tab)\">Notepad++<\/a>.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\"><strong>Where is .htaccess?<\/strong><\/h4>\r\n\r\n\r\n\r\n<p>In the website tab, if you click on the manage option, you will see the page that is shown in the picture below. This page is for managing your host.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" class=\"wp-image-2233\" src=\"https:\/\/airoserver.com\/wp-content\/uploads\/2020\/01\/manage-host.jpg\" alt=\"Host management page \" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>There is a &#8220;Rewrite rules&#8221; option on this page. If you click on this option, you can change the .htaccess codes. We should warn you again to get a copy of this file before editing it. The Rewrite rules option gives you some suggestions like changing Http to Https.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\"><strong>Where is PHP.ini in CyberPanel?<\/strong><\/h4>\r\n\r\n\r\n\r\n<p>PHP.ini is another important configuration file that you might need to edit. In the same path, we mentioned for .htacess which is websites&gt;manage and on the manage tab there is another option beside Rewrite rules that is &#8220;vHost conf&#8221;. Again click on this option and get a copy of its content. Now you can make the changes you want in your PHP.ini file. The changes you can make on this file are increasing memory limit, enabling display error, increasing max input file size and etc. An important thing to mention is that in order for you to be able to make these changes, first, your <a href=\"https:\/\/airoserver.com\/fa\/dedicated\/different-types-of-servers-in-web-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"web hosting (opens in a new tab)\">web hosting<\/a> provider must do these steps. (If you have the root access to the server you can do this yourself.)<\/p>\r\n\r\n\r\n\r\n<p><strong>1.<\/strong> add this command to the server&#8217;s PHP.ini file.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">LSPHP_ENABLE_USER_INI=on<\/pre>\r\n\r\n\r\n\r\n<p><strong>2.<\/strong> Paste this command to vHost Conf file under the &#8220;scripthandler&#8221; section.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">add          isapi:username<\/pre>\r\n\r\n\r\n\r\n<p>Now you should insert this command in the management panel under the section &#8220;phpIniOverride&#8221;.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"> php_value display_errors \"on\"<\/pre>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter\"><img decoding=\"async\" class=\"wp-image-2234\" src=\"https:\/\/airoserver.com\/wp-content\/uploads\/2020\/01\/Change-PHP.ini-on-CyberPanel.jpg\" alt=\"Change-PHP.ini-on-CyberPanel\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Hope you enjoyed this post if you did, you can visit our <a href=\"https:\/\/airoserver.com\/fa\/blog\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"blog (opens in a new tab)\">blog<\/a> for more!<\/p>","protected":false},"excerpt":{"rendered":"<p>As you may know, CyberPanel is a free control panel that is supported on Linux. Earlier, we have explained about CyberPanel&#8217;s installation, how to add a website to it and create email accounts. In this post, we are going to show you how you can find .htaccess and PHP.ini in this control panel. .htaccess is [&hellip;]<\/p>","protected":false},"author":5,"featured_media":33840,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[179,176,182,178],"tags":[85,188,142],"class_list":["post-33445","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-airoserver","category-dedicated","category-shared-hosting","category-airo-vps","tag-airoserver","tag-control-panel","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Where are .htaccess and PHP.ini in CyberPanel?<\/title>\n<meta name=\"description\" content=\"On the websites tab, click on manage and in that tab, you can change .htaccess codes in the Rewrite rules and php.ini codes with vHost conf.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/airoserver.com\/fa\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Where are .htaccess and PHP.ini in CyberPanel?\" \/>\n<meta property=\"og:description\" content=\"On the websites tab, click on manage and in that tab, you can change .htaccess codes in the Rewrite rules and php.ini codes with vHost conf.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/airoserver.com\/fa\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Airoserver | Cloud Hosting Solutions\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-27T07:13:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-03T09:55:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/airoserver.com\/wp-content\/uploads\/2020\/01\/CyberPanel-.htaccess.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"343\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"SEO Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"SEO Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/\"},\"author\":{\"name\":\"SEO Team\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897\"},\"headline\":\"Where are .htaccess and PHP.ini in CyberPanel?\",\"datePublished\":\"2020-01-27T07:13:57+00:00\",\"dateModified\":\"2022-04-03T09:55:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/\"},\"wordCount\":465,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/airoserver.com\/#organization\"},\"keywords\":[\"airoserver\",\"Control Panel\",\"Linux\"],\"articleSection\":[\"AiroServer\",\"Dedicated\",\"Shared Hosting\",\"VPS\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/\",\"url\":\"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/\",\"name\":\"Where are .htaccess and PHP.ini in CyberPanel?\",\"isPartOf\":{\"@id\":\"https:\/\/airoserver.com\/#website\"},\"datePublished\":\"2020-01-27T07:13:57+00:00\",\"dateModified\":\"2022-04-03T09:55:54+00:00\",\"description\":\"On the websites tab, click on manage and in that tab, you can change .htaccess codes in the Rewrite rules and php.ini codes with vHost conf.\",\"breadcrumb\":{\"@id\":\"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/airoserver.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Where are .htaccess and PHP.ini in CyberPanel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/airoserver.com\/#website\",\"url\":\"https:\/\/airoserver.com\/\",\"name\":\"Airoserver | Cloud Hosting Solutions\",\"description\":\"Cloud server | Dedicated server | Domain | Hosting| SSL | Virtual server | Airoserver\",\"publisher\":{\"@id\":\"https:\/\/airoserver.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/airoserver.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/airoserver.com\/#organization\",\"name\":\"Airoserver | Cloud Hosting Solutions\",\"url\":\"https:\/\/airoserver.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png\",\"contentUrl\":\"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png\",\"width\":925,\"height\":880,\"caption\":\"Airoserver | Cloud Hosting Solutions\"},\"image\":{\"@id\":\"https:\/\/airoserver.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897\",\"name\":\"SEO Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/airoserver.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g\",\"caption\":\"SEO Team\"},\"url\":\"https:\/\/airoserver.com\/fa\/author\/seoteam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Where are .htaccess and PHP.ini in CyberPanel?","description":"On the websites tab, click on manage and in that tab, you can change .htaccess codes in the Rewrite rules and php.ini codes with vHost conf.","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:\/\/airoserver.com\/fa\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/","og_locale":"fa_IR","og_type":"article","og_title":"Where are .htaccess and PHP.ini in CyberPanel?","og_description":"On the websites tab, click on manage and in that tab, you can change .htaccess codes in the Rewrite rules and php.ini codes with vHost conf.","og_url":"https:\/\/airoserver.com\/fa\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/","og_site_name":"Airoserver | Cloud Hosting Solutions","article_published_time":"2020-01-27T07:13:57+00:00","article_modified_time":"2022-04-03T09:55:54+00:00","og_image":[{"width":750,"height":343,"url":"https:\/\/airoserver.com\/wp-content\/uploads\/2020\/01\/CyberPanel-.htaccess.jpg","type":"image\/jpeg"}],"author":"SEO Team","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"SEO Team","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"2 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/#article","isPartOf":{"@id":"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/"},"author":{"name":"SEO Team","@id":"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897"},"headline":"Where are .htaccess and PHP.ini in CyberPanel?","datePublished":"2020-01-27T07:13:57+00:00","dateModified":"2022-04-03T09:55:54+00:00","mainEntityOfPage":{"@id":"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/"},"wordCount":465,"commentCount":0,"publisher":{"@id":"https:\/\/airoserver.com\/#organization"},"keywords":["airoserver","Control Panel","Linux"],"articleSection":["AiroServer","Dedicated","Shared Hosting","VPS"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/","url":"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/","name":"Where are .htaccess and PHP.ini in CyberPanel?","isPartOf":{"@id":"https:\/\/airoserver.com\/#website"},"datePublished":"2020-01-27T07:13:57+00:00","dateModified":"2022-04-03T09:55:54+00:00","description":"On the websites tab, click on manage and in that tab, you can change .htaccess codes in the Rewrite rules and php.ini codes with vHost conf.","breadcrumb":{"@id":"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/airoserver.com\/dedicated\/where-are-htaccess-and-php-ini-in-cyberpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/airoserver.com\/"},{"@type":"ListItem","position":2,"name":"Where are .htaccess and PHP.ini in CyberPanel?"}]},{"@type":"WebSite","@id":"https:\/\/airoserver.com\/#website","url":"https:\/\/airoserver.com\/","name":"Airoserver | Cloud Hosting Solutions","description":"Cloud server | Dedicated server | Domain | Hosting| SSL | Virtual server | Airoserver","publisher":{"@id":"https:\/\/airoserver.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/airoserver.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/airoserver.com\/#organization","name":"Airoserver | Cloud Hosting Solutions","url":"https:\/\/airoserver.com\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/airoserver.com\/#\/schema\/logo\/image\/","url":"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png","contentUrl":"https:\/\/airoserver.com\/wp-content\/uploads\/2023\/09\/logo_airoserver.png","width":925,"height":880,"caption":"Airoserver | Cloud Hosting Solutions"},"image":{"@id":"https:\/\/airoserver.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/airoserver.com\/#\/schema\/person\/62f9488eeb65ea1e571178292d4bb897","name":"SEO Team","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/airoserver.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0cc6a1209a0e36c0bf4f0fcdcd743946df92fde7ba86163b0724f194a722a861?s=96&d=mm&r=g","caption":"SEO Team"},"url":"https:\/\/airoserver.com\/fa\/author\/seoteam\/"}]}},"_links":{"self":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/posts\/33445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/comments?post=33445"}],"version-history":[{"count":0,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/posts\/33445\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/media\/33840"}],"wp:attachment":[{"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/media?parent=33445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/categories?post=33445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/airoserver.com\/fa\/wp-json\/wp\/v2\/tags?post=33445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}