{"id":41144,"date":"2024-05-14T07:49:50","date_gmt":"2024-05-14T07:49:50","guid":{"rendered":"https:\/\/accuweb.cloud\/resource\/?post_type=faq&#038;p=41144"},"modified":"2026-02-19T05:41:33","modified_gmt":"2026-02-19T05:41:33","slug":"php-auto-configuration","status":"publish","type":"faq","link":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration","title":{"rendered":"Auto-Configurations for PHP Application Servers on AccuWeb.Cloud"},"content":{"rendered":"<h2 class=\"ack-h2\">Auto-Configurations for PHP Application Servers on AccuWeb.Cloud<\/h2>\n<p>AccuWeb.Cloud&#8217;s dynamic resource organization complements the fundamental <a class=\"ack-link-color\" target=\"_blank\" rel=\"noopener\" href=\"https:\/\/accuweb.cloud\/application\/php-hosting\">PHP<\/a> structure to optimize PHP integration within the <a class=\"ack-link-color\" target=\"_blank\" rel=\"noopener\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/paas-concepts-and-terminology\/\">Platform as a Service (PaaS)<\/a> environment. When adjusting the allocated resources, such as cloudlets count, the platform seamlessly adapts the PHP directives to suit the new conditions automatically. Nevertheless, users retain the option to manually configure parameters within their server&#8217;s configuration file.<\/p>\n<p>It&#8217;s important to note that the handling and dispatching system for basic requests varies across different PHP application servers, resulting in the utilization of different directives. However, despite these variations, the functionality of these parameters often remains similar. To explore the detailed directives relevant to a particular application server, please refer to the corresponding section outlined below.<\/p>\n<ul class=\"ack-ul\">\n<li><a class=\"ack-link-color\" href=\"#apache-php\">Apache PHP<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#nginx-php\">NGINX PHP<\/a><\/li>\n<\/ul>\n<p>Additionally, you have the option to learn about <a class=\"ack-link-color\" href=\"#how-auto-config-works\">How the auto-configuration works<\/a>.<\/p>\n<p>Alternatively, if you prefer to manually redefine the values, you can proceed to the section titled <a class=\"ack-link-color\" href=\"#disable-auto-optimization\">How to Disable the Automatic Optimization<\/a> in this guide.<\/p>\n<h2 id=\"apache-php\" class=\"ack-h2\">Apache PHP Auto Adjustable Settings<\/h2>\n<p>Dynamic request handling in Apache PHP is facilitated through the utilization of the <strong>prefork<\/strong> Multi-Processing Module (MPM). This module optimizes server performance by fully utilizing its potential. The directives related to MPM can be found in the main Apache configuration file located at <strong>\/etc\/httpd\/conf\/httpd.conf<\/strong>.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/httpd.conf_.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-41146 size-full\" title=\"Apache PHP httpd.conf\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/httpd.conf_.png\" alt=\"Apache PHP httpd.conf\" width=\"1273\" height=\"453\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/httpd.conf_.png 1273w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/httpd.conf_-300x107.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/httpd.conf_-1024x364.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/httpd.conf_-768x273.png 768w\" sizes=\"(max-width: 1273px) 100vw, 1273px\" \/><\/a><\/p>\n<p>Below is a comprehensive list of parameters that the platform configures for the <strong>prefork<\/strong> module:<\/p>\n<ol class=\"ack-ol\">\n<li><strong>StartServers:<\/strong> This parameter sets the number of child server processes created during startup.<\/li>\n<li><strong>MinSpareServers (MaxSpareServers):<\/strong> These parameters define the minimum (maximum) number of server processes to be kept in reserve to handle incoming requests efficiently.<\/li>\n<li><strong>ServerLimit:<\/strong> This parameter sets the maximum allowed value for the MaxRequestWorkers directive, effectively limiting the number of simultaneous requests that can be processed by the server.<\/li>\n<li><strong>MaxRequestWorkers:<\/strong> Configuring this parameter determines the maximum number of simultaneous requests that the server can handle efficiently.<\/li>\n<li><strong>MaxConnectionsPerChild:<\/strong> This parameter defines the maximum number of requests that a single child process can serve before it is terminated and replaced with a new one.<\/li>\n<\/ol>\n<p>Based on the allocated resources, such as the number of dynamic cloudlets reserved for the Apache PHP server, and the capacity of the CPU provided by your hosting provider, AccuWeb.Cloud automatically adjusts the <strong>ServerLimit<\/strong> and <strong>MaxRequestWorkers<\/strong> parameters.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Apache-Prefork-Module-Configs.png\"><img decoding=\"async\" class=\"ack-article-image aligncenter wp-image-41147 size-full\" title=\"Apache Prefork Module Configs\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Apache-Prefork-Module-Configs.png\" alt=\"Apache Prefork Module Configs\" width=\"1363\" height=\"452\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Apache-Prefork-Module-Configs.png 1363w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Apache-Prefork-Module-Configs-300x99.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Apache-Prefork-Module-Configs-1024x340.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Apache-Prefork-Module-Configs-768x255.png 768w\" sizes=\"(max-width: 1363px) 100vw, 1363px\" \/><\/a><\/p>\n<p><strong>MaxRequestWorkers<\/strong> = <strong>ServerLimit<\/strong> = min( {<strong>containerRam<\/strong>} \/ 30MiB, {<strong>coresCount<\/strong>} * 5 )<\/p>\n<p>As per this statement, both directives are set equal to the lower value between:<\/p>\n<ol class=\"ack-ol\">\n<li>The amount of RAM allocated to the node, divided by 30.<\/li>\n<li>The number of cores on the hosting provider&#8217;s physical server where the container is located, multiplied by 5.<\/li>\n<\/ol>\n<p>In this manner, the parameters are dynamically adjusted based on the number of allocated cloudlets, ensuring they do not exceed the hardware limits.<\/p>\n<div class=\"ack-formula\">\n<strong>Note:<\/strong> If you choose to specify custom values for these directives, it&#8217;s important to exercise caution as incorrect values can lead to instability in your Apache PHP server:<\/p>\n<ul class=\"ack-ul\">\n<li>Setting <strong>ServerLimit<\/strong> too high may result in the allocation of unused shared memory, while setting it too low may limit the server&#8217;s performance potential.<\/li>\n<li>Ensure that <strong>MaxRequestWorkers<\/strong> is set to accommodate the expected number of simultaneous requests while also being mindful of available RAM to prevent memory issues.<\/li>\n<\/ul>\n<\/div>\n<div class=\"article-space\"><\/div>\n<p>You might also want to check out how the auto-configuration operates or learn <a class=\"ack-link-color\" href=\"#disable-auto-optimization\">how to disable automatic optimization<\/a> if you&#8217;re inclined to set custom values for these directives.<\/p>\n<div class=\"article-space\"><\/div>\n\t\t<div data-elementor-type=\"section\" data-elementor-id=\"38668\" class=\"elementor elementor-38668\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"elementor_library\">\n\t\t\t        <section class=\"elementor-section elementor-top-section elementor-element elementor-element-882321f elementor-section-boxed elementor-section-height-default elementor-section-height-default ct-header-fixed-none ct-row-max-none\" data-id=\"882321f\" data-element_type=\"section\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n            \n                        <div class=\"elementor-container elementor-column-gap-default \">\n                    <div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7cc79cc\" data-id=\"7cc79cc\" data-element_type=\"column\">\n        <div class=\"elementor-widget-wrap elementor-element-populated\">\n                    \n        \t\t<div class=\"elementor-element elementor-element-e31b40f elementor-widget elementor-widget-shortcode\" data-id=\"e31b40f\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t            <\/div>\n        <\/div>\n                    <\/div>\n        <\/section>\n        \t\t<\/div>\n\t\t\n<div class=\"article-space\"><\/div>\n<h2 id=\"nginx-php\" class=\"ack-h2\">NGINX PHP Auto Adjustable Settings<\/h2>\n<p>Request handling in the NGINX PHP application server is managed by the FastCGI Process Manager (FPM), which can be configured via the <strong>\/etc\/php-fpm.conf<\/strong> file. This file is automatically added to the favorites list in the container file manager for easy access.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/NGINX-PHP-php-fpm.conf_.png\"><img decoding=\"async\" class=\"ack-article-image aligncenter wp-image-41148 size-full\" title=\"NGINX PHP php-fpm.conf\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/NGINX-PHP-php-fpm.conf_.png\" alt=\"NGINX PHP php-fpm.conf\" width=\"1266\" height=\"452\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/NGINX-PHP-php-fpm.conf_.png 1266w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/NGINX-PHP-php-fpm.conf_-300x107.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/NGINX-PHP-php-fpm.conf_-1024x366.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/NGINX-PHP-php-fpm.conf_-768x274.png 768w\" sizes=\"(max-width: 1266px) 100vw, 1266px\" \/><\/a><\/p>\n<p>By default, FPM operates in the <strong>ondemand<\/strong> mode, as specified by the &#8220;<strong>pm<\/strong>&#8221; directive. In this mode, FPM spawns new processes as needed (i.e., on demand) and removes idle ones. The key parameters for this mode are:<\/p>\n<ol class=\"ack-ol\">\n<li><strong>pm.max_children:<\/strong> This parameter defines the maximum number of child processes. It is typically set equal to the number of CPU cores available for the container, with a minimum value of 2.<\/li>\n<li><strong>pm.process_idle_timeout:<\/strong> This parameter sets the delay before killing an idle process, with a default value of 60 seconds.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/NGINX-PHP-ondemand.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-41149 size-full\" title=\"NGINX PHP ondemand\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/NGINX-PHP-ondemand.png\" alt=\"NGINX PHP ondemand\" width=\"1266\" height=\"452\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/NGINX-PHP-ondemand.png 1266w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/NGINX-PHP-ondemand-300x107.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/NGINX-PHP-ondemand-1024x366.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/NGINX-PHP-ondemand-768x274.png 768w\" sizes=\"(max-width: 1266px) 100vw, 1266px\" \/><\/a><\/p>\n<div class=\"ack-formula\">\n<strong>Tip:<\/strong> The precise value of the pm.max_children parameter is influenced by the CPU capacity provided by your hosting provider and the number of allocated cloudlets for your container. Consequently, increasing the count of cloudlets automatically adjusts the <strong>pm.max_children<\/strong> parameter.<\/p>\n<p>If you wish to define this directive explicitly without disabling the automatic optimization, you can utilize the appropriate <strong>PHPFPM_MAX_CHILDREN<\/strong> variable.<\/div>\n<div class=\"article-space\"><\/div>\n<p>If necessary, you have the option to disable the automatic optimization to change the FPM mode and adjust other directives. However, it&#8217;s crucial to exercise caution as incorrect values can lead to instability in your NGINX PHP server.<\/p>\n<p>For enhanced performance, the PHP-FPM listener uses a UNIX domain socket instead of the standard TCP socket. This approach is better suited for communication within the same host, as it bypasses certain checks and operations like routing, ultimately improving efficiency.<\/p>\n<div class=\"article-space\"><\/div>\n\t\t<div data-elementor-type=\"section\" data-elementor-id=\"38668\" class=\"elementor elementor-38668\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"elementor_library\">\n\t\t\t        <section class=\"elementor-section elementor-top-section elementor-element elementor-element-882321f elementor-section-boxed elementor-section-height-default elementor-section-height-default ct-header-fixed-none ct-row-max-none\" data-id=\"882321f\" data-element_type=\"section\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n            \n                        <div class=\"elementor-container elementor-column-gap-default \">\n                    <div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7cc79cc\" data-id=\"7cc79cc\" data-element_type=\"column\">\n        <div class=\"elementor-widget-wrap elementor-element-populated\">\n                    \n        \t\t<div class=\"elementor-element elementor-element-e31b40f elementor-widget elementor-widget-shortcode\" data-id=\"e31b40f\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t            <\/div>\n        <\/div>\n                    <\/div>\n        <\/section>\n        \t\t<\/div>\n\t\t\n<div class=\"article-space\"><\/div>\n<h2 id=\"how-auto-config-works\" class=\"ack-h2\">How the PHP Auto-Configuration Works<\/h2>\n<p>You can observe how the parameters mentioned above are adjusted based on the allocated resources. Let&#8217;s take the example of the Apache PHP server:<\/p>\n<p><strong>1.<\/strong> Begin by creating a new PHP environment with the <strong>Apache PHP<\/strong> application server inside, if you haven&#8217;t already done so.<\/p>\n<p>Next, navigate to the <strong>Config<\/strong> button for this node and locate the <strong>prefork<\/strong> module configurations in the <strong>\/etc\/httpd\/conf\/httpd.conf<\/strong> file.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Prefork-Module.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-41150 size-full\" title=\"Prefork Module\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Prefork-Module.png\" alt=\"Prefork Module\" width=\"1397\" height=\"456\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Prefork-Module.png 1397w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Prefork-Module-300x98.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Prefork-Module-1024x334.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Prefork-Module-768x251.png 768w\" sizes=\"(max-width: 1397px) 100vw, 1397px\" \/><\/a><\/p>\n<p>Take note of the directive values corresponding to the current number of cloudlets.<\/p>\n<p><strong>2.<\/strong> Proceed to adjust the resource limit for the Apache PHP server using the &#8220;<strong>Change Environment Topology<\/strong>&#8221; button. Afterward, refresh the <strong>\/etc\/httpd\/conf\/httpd.conf<\/strong> file and compare the prefork parameter values with the ones previously recorded.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Prefork-Parameter-Values.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-41151 size-full\" title=\"Prefork Parameter Values\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Prefork-Parameter-Values.png\" alt=\"Prefork Parameter Values\" width=\"1321\" height=\"451\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Prefork-Parameter-Values.png 1321w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Prefork-Parameter-Values-300x102.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Prefork-Parameter-Values-1024x350.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Prefork-Parameter-Values-768x262.png 768w\" sizes=\"(max-width: 1321px) 100vw, 1321px\" \/><\/a><\/p>\n<p>Indeed, the directive values increased automatically as a result of a higher amount of available resources being allocated, demonstrating that the automatic optimization is functioning. Similarly, if the cloudlets count were to be decreased, the values of these parameters would be reduced accordingly.<\/p>\n<h2 id=\"disable-auto-optimization\" class=\"ack-h2\">Disable Automatic Optimization<\/h2>\n<p>If you wish to specify your own custom values rather than relying on the automatically configured directives, it&#8217;s necessary to disable the automatic optimization. Otherwise, any custom changes you make will be reverted during container restart or updates.<\/p>\n<p>To manually modify any of the auto-configured settings, you can set the <strong>JELASTIC_AUTOCONFIG<\/strong> environment <a class=\"ack-link-color\" target=\"_blank\" rel=\"noopener\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/articles-variables\/\">variable<\/a> to false.<\/p>\n<div class=\"ack-formula\">\n<strong>NOTE:<\/strong> Please note that applying inappropriate directive values may lead to instability in your server. Therefore, it is strongly advised not to make manual changes unless you are fully confident in what you are doing.<\/div>\n<div class=\"article-space\"><\/div>\n<h3 class=\"ack-h3\">Legacy Implementation<\/h3>\n<p>For legacy implementations on old containers, you simply need to remove the line containing the optimization mark at the beginning of the relevant configuration file:<\/p>\n<p>For <strong>Apache PHP<\/strong>, locate and delete the line &#8220;# Jelastic autoconfiguration mark&#8221; within the <strong>\/etc\/httpd\/conf\/httpd.conf<\/strong> file.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Jelastic-autoconfiguration-mark.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-41152 size-full\" title=\"Remove Jelastic autoconfiguration mark in httpd.conf file\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Jelastic-autoconfiguration-mark.png\" alt=\"Remove Jelastic autoconfiguration mark in httpd.conf file\" width=\"1452\" height=\"487\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Jelastic-autoconfiguration-mark.png 1452w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Jelastic-autoconfiguration-mark-300x101.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Jelastic-autoconfiguration-mark-1024x343.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Jelastic-autoconfiguration-mark-768x258.png 768w\" sizes=\"(max-width: 1452px) 100vw, 1452px\" \/><\/a><\/p>\n<p>For <strong>NGINX PHP<\/strong>, find and remove the line &#8220;; Jelastic autoconfiguration mark&#8221; within the <strong>\/etc\/php-fpm.conf<\/strong> file.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/php-fpm.conf-File.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-41153 size-full\" title=\"Remove Jelastic autoconfiguration mark in php-fpm.conf File\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/php-fpm.conf-File.png\" alt=\"Remove Jelastic autoconfiguration mark in php-fpm.conf File\" width=\"1305\" height=\"460\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/php-fpm.conf-File.png 1305w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/php-fpm.conf-File-300x106.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/php-fpm.conf-File-1024x361.png 1024w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/php-fpm.conf-File-768x271.png 768w\" sizes=\"(max-width: 1305px) 100vw, 1305px\" \/><\/a><\/p>\n<p>Once you&#8217;ve removed the corresponding string, the parameters&#8217; values will no longer be automatically configured by the platform&#8217;s optimization mechanism, allowing you to specify your custom parameters. Be sure to save the file to apply the new configurations.<\/p>\n<div class=\"cta-btn-top-space\"><\/div>\n\t\t<div data-elementor-type=\"section\" data-elementor-id=\"38668\" class=\"elementor elementor-38668\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"elementor_library\">\n\t\t\t        <section class=\"elementor-section elementor-top-section elementor-element elementor-element-882321f elementor-section-boxed elementor-section-height-default elementor-section-height-default ct-header-fixed-none ct-row-max-none\" data-id=\"882321f\" data-element_type=\"section\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n            \n                        <div class=\"elementor-container elementor-column-gap-default \">\n                    <div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7cc79cc\" data-id=\"7cc79cc\" data-element_type=\"column\">\n        <div class=\"elementor-widget-wrap elementor-element-populated\">\n                    \n        \t\t<div class=\"elementor-element elementor-element-e31b40f elementor-widget elementor-widget-shortcode\" data-id=\"e31b40f\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t            <\/div>\n        <\/div>\n                    <\/div>\n        <\/section>\n        \t\t<\/div>\n\t\t\n<div class=\"cta-btn-mob-space\"><\/div>\n","protected":false},"author":1,"featured_media":52879,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","class_list":["post-41144","faq","type-faq","status-publish","has-post-thumbnail","hentry","faq_topics-application-settings","faq_topics-kb","faq_topics-php-auto-configuration","faq_topics-product-documentation","faq_topics-smart-auto-configuration"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.10 (Yoast SEO v24.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP auto configuration | AccuWeb.Cloud Guide<\/title>\n<meta name=\"description\" content=\"Discover how AccuWeb.Cloud&#039;s auto-configurations work to optimize PHP integration within a Platform as a Service (PaaS) environment.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Auto-Configurations for PHP Application Servers on AccuWeb.Cloud\" \/>\n<meta property=\"og:description\" content=\"Discover how AccuWeb.Cloud&#039;s auto-configurations work to optimize PHP integration within a Platform as a Service (PaaS) environment.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration\" \/>\n<meta property=\"og:site_name\" content=\"AccuWeb Cloud\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-19T05:41:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#article\",\"isPartOf\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration\"},\"author\":{\"name\":\"Jilesh Patadiya\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58\"},\"headline\":\"Auto-Configurations for PHP Application Servers on AccuWeb.Cloud\",\"datePublished\":\"2024-05-14T07:49:50+00:00\",\"dateModified\":\"2026-02-19T05:41:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration\"},\"wordCount\":1216,\"publisher\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration\",\"url\":\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration\",\"name\":\"PHP auto configuration | AccuWeb.Cloud Guide\",\"isPartOf\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#primaryimage\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"datePublished\":\"2024-05-14T07:49:50+00:00\",\"dateModified\":\"2026-02-19T05:41:33+00:00\",\"description\":\"Discover how AccuWeb.Cloud's auto-configurations work to optimize PHP integration within a Platform as a Service (PaaS) environment.\",\"breadcrumb\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#primaryimage\",\"url\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"contentUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/accuweb.cloud\/resource\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Auto-Configurations for PHP Application Servers on AccuWeb.Cloud\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#website\",\"url\":\"https:\/\/accuweb.cloud\/resource\/\",\"name\":\"AccuWeb Cloud\",\"description\":\"Cutting Edge Cloud Computing\",\"publisher\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/accuweb.cloud\/resource\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\",\"name\":\"AccuWeb.Cloud\",\"url\":\"https:\/\/accuweb.cloud\/resource\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg\",\"contentUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg\",\"width\":156,\"height\":87,\"caption\":\"AccuWeb.Cloud\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58\",\"name\":\"Jilesh Patadiya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g\",\"caption\":\"Jilesh Patadiya\"},\"description\":\"Jilesh Patadiya, the visionary Co-Founder and Chief Technology Officer (CTO) behind AccuWeb.Cloud. Founder &amp; CTO at AccuWebHosting.com. He shares his web hosting insights on the AccuWeb.Cloud blog. He mostly writes on the latest web hosting trends, WordPress, storage technologies, and Windows and Linux hosting platforms.\",\"sameAs\":[\"https:\/\/accuweb.cloud\/resource\",\"https:\/\/www.facebook.com\/accuwebhosting\",\"https:\/\/www.instagram.com\/accuwebhosting\/\",\"https:\/\/www.linkedin.com\/company\/accuwebhosting\/\",\"https:\/\/x.com\/accuwebhosting\",\"https:\/\/www.youtube.com\/c\/Accuwebhosting\"],\"url\":\"https:\/\/accuweb.cloud\/resource\/author\/accuwebadmin\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PHP auto configuration | AccuWeb.Cloud Guide","description":"Discover how AccuWeb.Cloud's auto-configurations work to optimize PHP integration within a Platform as a Service (PaaS) environment.","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:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration","og_locale":"en_US","og_type":"article","og_title":"Auto-Configurations for PHP Application Servers on AccuWeb.Cloud","og_description":"Discover how AccuWeb.Cloud's auto-configurations work to optimize PHP integration within a Platform as a Service (PaaS) environment.","og_url":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration","og_site_name":"AccuWeb Cloud","article_modified_time":"2026-02-19T05:41:33+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#article","isPartOf":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration"},"author":{"name":"Jilesh Patadiya","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58"},"headline":"Auto-Configurations for PHP Application Servers on AccuWeb.Cloud","datePublished":"2024-05-14T07:49:50+00:00","dateModified":"2026-02-19T05:41:33+00:00","mainEntityOfPage":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration"},"wordCount":1216,"publisher":{"@id":"https:\/\/accuweb.cloud\/resource\/#organization"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#primaryimage"},"thumbnailUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration","url":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration","name":"PHP auto configuration | AccuWeb.Cloud Guide","isPartOf":{"@id":"https:\/\/accuweb.cloud\/resource\/#website"},"primaryImageOfPage":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#primaryimage"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#primaryimage"},"thumbnailUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","datePublished":"2024-05-14T07:49:50+00:00","dateModified":"2026-02-19T05:41:33+00:00","description":"Discover how AccuWeb.Cloud's auto-configurations work to optimize PHP integration within a Platform as a Service (PaaS) environment.","breadcrumb":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#primaryimage","url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","contentUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/accuweb.cloud\/resource\/articles\/php-auto-configuration#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/accuweb.cloud\/resource\/"},{"@type":"ListItem","position":2,"name":"Auto-Configurations for PHP Application Servers on AccuWeb.Cloud"}]},{"@type":"WebSite","@id":"https:\/\/accuweb.cloud\/resource\/#website","url":"https:\/\/accuweb.cloud\/resource\/","name":"AccuWeb Cloud","description":"Cutting Edge Cloud Computing","publisher":{"@id":"https:\/\/accuweb.cloud\/resource\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/accuweb.cloud\/resource\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/accuweb.cloud\/resource\/#organization","name":"AccuWeb.Cloud","url":"https:\/\/accuweb.cloud\/resource\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/","url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg","contentUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg","width":156,"height":87,"caption":"AccuWeb.Cloud"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58","name":"Jilesh Patadiya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g","caption":"Jilesh Patadiya"},"description":"Jilesh Patadiya, the visionary Co-Founder and Chief Technology Officer (CTO) behind AccuWeb.Cloud. Founder &amp; CTO at AccuWebHosting.com. He shares his web hosting insights on the AccuWeb.Cloud blog. He mostly writes on the latest web hosting trends, WordPress, storage technologies, and Windows and Linux hosting platforms.","sameAs":["https:\/\/accuweb.cloud\/resource","https:\/\/www.facebook.com\/accuwebhosting","https:\/\/www.instagram.com\/accuwebhosting\/","https:\/\/www.linkedin.com\/company\/accuwebhosting\/","https:\/\/x.com\/accuwebhosting","https:\/\/www.youtube.com\/c\/Accuwebhosting"],"url":"https:\/\/accuweb.cloud\/resource\/author\/accuwebadmin"}]}},"_links":{"self":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/41144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/comments?post=41144"}],"version-history":[{"count":3,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/41144\/revisions"}],"predecessor-version":[{"id":53260,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/41144\/revisions\/53260"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/media\/52879"}],"wp:attachment":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/media?parent=41144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}