{"id":39762,"date":"2021-12-08T12:30:00","date_gmt":"2021-12-08T18:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=39762"},"modified":"2022-06-03T03:31:28","modified_gmt":"2022-06-03T08:31:28","slug":"understanding-the-php-values-in-the-php-ini-configuration-file","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/","title":{"rendered":"Understanding the PHP values in the php.ini configuration file"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"742\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/understanding-php-values-in-the-php.ini-configuration-file.jpg\" alt=\"understanding php values in the php.ini configuration file\" class=\"wp-image-39966\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/understanding-php-values-in-the-php.ini-configuration-file.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/understanding-php-values-in-the-php.ini-configuration-file-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/understanding-php-values-in-the-php.ini-configuration-file-150x75.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\n\n\n\n<p>In this tutorial, we are going to explain what contains the &#8220;php.ini&#8221; configuration file and what is used for. The PHP ini configuration file is a special file for PHP applications used to control PHP settings what users can or can not do with the website.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/defining-php-values-in-php.ini-configuration-file-1024x553.png?v=1638863074\" alt=\"defining php values in php.ini configuration file\" class=\"wp-image-39901\" width=\"183\" height=\"99\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/defining-php-values-in-php.ini-configuration-file-1024x553.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/defining-php-values-in-php.ini-configuration-file-300x162.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/defining-php-values-in-php.ini-configuration-file-150x81.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/defining-php-values-in-php.ini-configuration-file-768x415.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/defining-php-values-in-php.ini-configuration-file-1536x830.png 1536w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/defining-php-values-in-php.ini-configuration-file-2048x1106.png 2048w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/defining-php-values-in-php.ini-configuration-file-1320x713.png 1320w\" sizes=\"(max-width: 183px) 100vw, 183px\" \/><\/figure><\/div>\n\n\n\n<p>When PHP is installed the server is configured to use the default PHP settings, but sometimes we need to change the behavior of the PHP at runtime and this is when this configuration file comes to in use.<\/p>\n\n\n\n<p>We are going to use <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noreferrer noopener\">Ubuntu 20.04<\/a> as OS while we are explaining and installing the PHP along with its extensions. Let&#8217;s get started!<\/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-69f5f9a606dd3\" 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-69f5f9a606dd3\"  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\/understanding-the-php-values-in-the-php-ini-configuration-file\/#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\/understanding-the-php-values-in-the-php-ini-configuration-file\/#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-3\" href=\"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/#Install-PHP80\" >Install PHP8.0<\/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\/understanding-the-php-values-in-the-php-ini-configuration-file\/#PHP-values-in-the-phpini-configuration-file\" >PHP values in the php.ini configuration file<\/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\/understanding-the-php-values-in-the-php-ini-configuration-file\/#PHP-values-in-browser\" >PHP values in browser<\/a><\/li><\/ul><\/nav><\/div>\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\"><li>Fresh install of Ubuntu 20.04<\/li><li>User privileges: root or non-root user with sudo privileges<\/li><\/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>Update the system to its latest version with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get update -y &amp;&amp; apt-get upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-install-php8-0\"><span class=\"ez-toc-section\" id=\"Install-PHP80\"><\/span>Install PHP8.0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First, we need to install some prerequisites and add the Ondrej repository. We are going to use the <b>ondrej\/apache2<\/b> option:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install lsb-release ca-certificates apt-transport-https software-properties-common -y\nsudo add-apt-repository ppa:ondrej\/php\n<\/pre>\n\n\n\n<p>We are going to install the latest version PHP8.0 along with its extensions. Execute the following command and allow some time for the PHP to be installed completely.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install php8.0 -y &amp;&amp; sudo apt install php8.0- -y<\/pre>\n\n\n\n<p>Check if the PHP8.0 installation is successful:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">php -v<\/pre>\n\n\n\n<p>You should receive the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@vps:~# php -v\nPHP 8.0.12 (cli) (built: Oct 22 2021 12:34:48) ( NTS )\nCopyright (c) The PHP Group\nZend Engine v4.0.12, Copyright (c) Zend Technologies\n    with Zend OPcache v8.0.12, Copyright (c), by Zend Technologies<\/pre>\n\n\n\n<p>To check the installed extensions, execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">php -m<\/pre>\n\n\n\n<p>You should see the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@vps:~# php -m\n[PHP Modules]\ncalendar\nCore\nctype\ndate\nexif\nFFI\nfileinfo\nfilter\nftp\ngettext\nhash\niconv\njson\nlibxml\nopenssl\npcntl\npcre\nPDO\nPhar\nposix\nreadline\nReflection\nsession\nshmop\nsockets\nsodium\nSPL\nstandard\nsysvmsg\nsysvsem\nsysvshm\ntokenizer\nZend OPcache\nzlib\n\n[Zend Modules]\nZend OPcache<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-php-values-in-the-php-ini-configuration-file\"><span class=\"ez-toc-section\" id=\"PHP-values-in-the-phpini-configuration-file\"><\/span>PHP values in the php.ini configuration file<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this section, we will explain a little bit more about the PHP values in the php.ini configuration file and their usage. We will start with the most important and most usable PHP values that are changeable every day in the Hosting world for the client&#8217;s needs.<\/p>\n\n\n\n<p><b>1. upload_max_filesize<\/b><br>With this value, we define the maximum size of the files that we can upload.<br><b>2. max_execution_time<\/b><br>With this value, we set the limit in seconds for time-limiting scripts in production servers.<br><b>3. post_max_size<\/b><br>With this value, we set the maximum allowed size of POST data accepted by PHP.<br><b>4. memory_limit<\/b><br>With this value, we set the maximum amount of memory the script can consume.<br><b>5. max_input_time<\/b><br>With this value, we set the maximum amount of time the script needs to parse input data, whether POST or GET.<br><b>6. file_uploads<\/b><br>This setting is for setting the FLAG to ON or OFF if the file uploads in PHP are included in the code or not.<br><b>7. enable_safe_mode<\/b><br>This setting is by default to ON whenever PHP is compiled.<br><b>8. upload_tmp_dir<\/b><br>This setting is for defining the temporary directory for storing files.<br><b>9. display_errors = off <\/b><br>This setting is for not allowing the PHP to show the errors while PHP is running on a specific host.<br><b>10. max_file_uploads<\/b><br>This setting is for defining the maximum number of files allowed to be uploaded simultaneously.<br><b>11. mysql.default_host<\/b><br>This setting is for defining the MySQL connection if no other server host is mentioned.<br><b>12. mysql.default_user<\/b><br>This setting is for defining the MySQL user if no other username is mentioned.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-php-values-in-browser\"><span class=\"ez-toc-section\" id=\"PHP-values-in-browser\"><\/span>PHP values in browser<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We will explain now, how you can access the configured PHP values in more detail by accessing them in your browser<br>First, create the &#8220;phpinfo.php&#8221; file in the document root of your website<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/var\/www\/html\/\nsudo nano phpinfo.php<\/pre>\n\n\n\n<p>Once the file is opened paste the following lines of code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php\nphpinfo();\n?&gt;<\/pre>\n\n\n\n<p>Save the file, close it and access it in your browser<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">http:\/\/YOUR_DOMAIN\/phpinfo.php<\/pre>\n\n\n\n<p>You should see the screen like the picture below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"844\" height=\"602\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/php-values-in-the-php.ini-configuration-file.png\" alt=\"PHP values in the php.ini configuration file\" class=\"wp-image-39827\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/php-values-in-the-php.ini-configuration-file.png 844w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/php-values-in-the-php.ini-configuration-file-300x214.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/php-values-in-the-php.ini-configuration-file-150x107.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/php-values-in-the-php.ini-configuration-file-768x548.png 768w\" sizes=\"(max-width: 844px) 100vw, 844px\" \/><\/figure>\n\n\n\n<p>You can see that by accessing this URL, you can get the information about the PHP version, system information core PHP values and etc. Everything that is changed in the php.ini file, on your server by refreshing this URL will be updated.<\/p>\n\n\n\n<p>The location of your php.ini file is located at &#8220;<b>\/etc\/php\/8.0\/apache2\/php.ini<\/b>&#8221; and you can easily check this in the &#8220;Loaded Configuration File&#8221; section also in this window. Please note the location of the php.ini file is different if you are using the control panel and the values are recommended to be changed from the control panel GUI instead of the command line.<\/p>\n\n\n\n<p>Congratulations! You learned a lot of new things about <b>php.ini<\/b>, <b>phpinfo<\/b>, and <b>PHP values<\/b>.<\/p>\n\n\n\n<p>Of course, you don\u2019t have to manage your PHP version and update the php.ini values for your website. If you use one of our <a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">VPS Hosting plans<\/a>, in which case you can simply ask our expert Linux admins to install and manage the PHP for your websites. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n\n\n\n<p>If you liked this post about the PHP values in the php.ini configuration file, 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","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we are going to explain what contains the &#8220;php.ini&#8221; configuration file and what is used for. The &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Understanding the PHP values in the php.ini configuration file\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/#more-39762\" aria-label=\"Read more about Understanding the PHP values in the php.ini configuration file\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":39804,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[62,50,1564],"class_list":["post-39762","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-configuration-file","tag-php","tag-php-ini","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.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Understanding The PHP Values in The PHP.ini Configuration File<\/title>\n<meta name=\"description\" content=\"The php.ini configuration file is a special file for PHP applications used to control PHP settings. Learn more about it with our guide.\" \/>\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\/understanding-the-php-values-in-the-php-ini-configuration-file\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Understanding The PHP Values in The PHP.ini Configuration File\" \/>\n<meta property=\"og:description\" content=\"The php.ini configuration file is a special file for PHP applications used to control PHP settings what users can or can not do with the website. Learn more about it from our tutorial.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/\" \/>\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=\"2021-12-08T18:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:31:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/understanding-the-php-values-in-the-php.ini-configuration-file.jpg?v=1637851214\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Understanding The PHP Values in The PHP.ini Configuration File\" \/>\n<meta name=\"twitter:description\" content=\"The php.ini configuration file is a special file for PHP applications used to control PHP settings what users can or can not do with the website. Learn more about it from our tutorial.\" \/>\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=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Understanding the PHP values in the php.ini configuration file\",\"datePublished\":\"2021-12-08T18:30:00+00:00\",\"dateModified\":\"2022-06-03T08:31:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/\"},\"wordCount\":798,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/understanding-the-php-values-in-the-php.ini-configuration-file.jpg\",\"keywords\":[\"Configuration file\",\"php\",\"php.ini\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/\",\"name\":\"Understanding The PHP Values in The PHP.ini Configuration File\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/understanding-the-php-values-in-the-php.ini-configuration-file.jpg\",\"datePublished\":\"2021-12-08T18:30:00+00:00\",\"dateModified\":\"2022-06-03T08:31:28+00:00\",\"description\":\"The php.ini configuration file is a special file for PHP applications used to control PHP settings. Learn more about it with our guide.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/understanding-the-php-values-in-the-php.ini-configuration-file.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/understanding-the-php-values-in-the-php.ini-configuration-file.jpg\",\"width\":742,\"height\":372,\"caption\":\"understanding the php values in the php.ini configuration file\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/understanding-the-php-values-in-the-php-ini-configuration-file\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding the PHP values in the php.ini configuration file\"}]},{\"@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":"Understanding The PHP Values in The PHP.ini Configuration File","description":"The php.ini configuration file is a special file for PHP applications used to control PHP settings. Learn more about it with our guide.","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\/understanding-the-php-values-in-the-php-ini-configuration-file\/","og_locale":"en_US","og_type":"article","og_title":"Understanding The PHP Values in The PHP.ini Configuration File","og_description":"The php.ini configuration file is a special file for PHP applications used to control PHP settings what users can or can not do with the website. Learn more about it from our tutorial.","og_url":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2021-12-08T18:30:00+00:00","article_modified_time":"2022-06-03T08:31:28+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/understanding-the-php-values-in-the-php.ini-configuration-file.jpg?v=1637851214","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"Understanding The PHP Values in The PHP.ini Configuration File","twitter_description":"The php.ini configuration file is a special file for PHP applications used to control PHP settings what users can or can not do with the website. Learn more about it from our tutorial.","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Understanding the PHP values in the php.ini configuration file","datePublished":"2021-12-08T18:30:00+00:00","dateModified":"2022-06-03T08:31:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/"},"wordCount":798,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/understanding-the-php-values-in-the-php.ini-configuration-file.jpg","keywords":["Configuration file","php","php.ini"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/","url":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/","name":"Understanding The PHP Values in The PHP.ini Configuration File","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/understanding-the-php-values-in-the-php.ini-configuration-file.jpg","datePublished":"2021-12-08T18:30:00+00:00","dateModified":"2022-06-03T08:31:28+00:00","description":"The php.ini configuration file is a special file for PHP applications used to control PHP settings. Learn more about it with our guide.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/understanding-the-php-values-in-the-php.ini-configuration-file.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/understanding-the-php-values-in-the-php.ini-configuration-file.jpg","width":742,"height":372,"caption":"understanding the php values in the php.ini configuration file"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/understanding-the-php-values-in-the-php-ini-configuration-file\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Understanding the PHP values in the php.ini configuration file"}]},{"@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\/39762","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=39762"}],"version-history":[{"count":20,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/39762\/revisions"}],"predecessor-version":[{"id":41409,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/39762\/revisions\/41409"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/39804"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=39762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=39762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=39762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}