{"id":2974,"date":"2020-04-04T13:02:37","date_gmt":"2020-04-04T07:32:37","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/blog\/?p=2974"},"modified":"2020-04-04T13:03:49","modified_gmt":"2020-04-04T07:33:49","slug":"website-running-php-fpm-shows-503-service-temporarily-unavailable","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/","title":{"rendered":"website running php-fpm shows 503 Service Temporarily Unavailable"},"content":{"rendered":"\n<p>Website is showing the following error:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>503 Service Temporarily Unavailable<\/code><\/pre>\n\n\n\n<p>The following errors are shown in \/var\/log\/plesk\/panel.log log file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;proxy:error] &#91;pid 12966] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s\n&#91;proxy_fcgi:error] &#91;pid 12966] &#91;client 203.0.113.2:53377] AH01079: failed to make connection to backend: 127.0.0.1, referer: https:\/\/example.com\/<\/code><\/pre>\n\n\n\n<p>The website is using PHP-FPM handler at Domains > example.com > PHP Settings<\/p>\n\n\n\n<p>The following errors can be found in the website error_log file at \/var\/www\/vhosts\/example.com\/logs\/error_log:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;proxy:error] &#91;pid 3838:tid 140126940247808] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket \/var\/www\/vhosts\/system\/example.com\/php-fpm.sock (*) failed\n&#91;proxy_fcgi:error] &#91;pid 3838:tid 140126940247808] &#91;client 203.0.113.2:56904] AH01079: failed to make connection to backend: httpd-UDS<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\"><li>Connect to the server via\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/support.plesk.com\/hc\/en-us\/articles\/115000172834\" target=\"_blank\">SSH<\/a><\/li><li>Get the PHP-FPM version assigned to the domain:<\/li><\/ol>\n\n\n<p>plesk db &#8220;SELECT d.name,h.php_handler_id FROM domains d JOIN hosting h on h.dom_id=d.id WHERE d.name=&#8217;example.com'&#8221;<br \/>\n+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;-+<br \/>\n| name | php_handler_id |<br \/>\n+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;-+<br \/>\n| example.com | plesk-php73-fpm |<br \/>\n+&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;-+<\/p>\n\n\n\n<p> Start the PHP-FPM service with the required version. For example the Plesk PHP-FPM 7.3 service: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>service plesk-php73-fpm restart<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Website is showing the following error: The following errors are shown in \/var\/log\/plesk\/panel.log log file: The website is using PHP-FPM handler at Domains > example.com > PHP Settings The following errors can be found in the website error_log file at \/var\/www\/vhosts\/example.com\/logs\/error_log: Connect to the server via\u00a0SSH Get the PHP-FPM version assigned to the domain: Start [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":63,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[35],"tags":[],"class_list":["post-2974","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plesk"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>website running php-fpm shows 503 Service Temporarily Unavailable | 24x7serversupport Blog<\/title>\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.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"website running php-fpm shows 503 Service Temporarily Unavailable | 24x7serversupport Blog\" \/>\n<meta property=\"og:description\" content=\"Website is showing the following error: The following errors are shown in \/var\/log\/plesk\/panel.log log file: The website is using PHP-FPM handler at Domains &gt; example.com &gt; PHP Settings The following errors can be found in the website error_log file at \/var\/www\/vhosts\/example.com\/logs\/error_log: Connect to the server via\u00a0SSH Get the PHP-FPM version assigned to the domain: Start [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-04T07:32:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-04T07:33:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2015\/03\/parallels.png?fit=2000%2C1200&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"2000\" \/>\n\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/\",\"name\":\"website running php-fpm shows 503 Service Temporarily Unavailable | 24x7serversupport Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2015\/03\/parallels.png?fit=2000%2C1200&ssl=1\",\"datePublished\":\"2020-04-04T07:32:37+00:00\",\"dateModified\":\"2020-04-04T07:33:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2015\/03\/parallels.png?fit=2000%2C1200&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2015\/03\/parallels.png?fit=2000%2C1200&ssl=1\",\"width\":2000,\"height\":1200,\"caption\":\"Linux Plesk Server Management\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"website running php-fpm shows 503 Service Temporarily Unavailable\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"website running php-fpm shows 503 Service Temporarily Unavailable | 24x7serversupport Blog","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.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/","og_locale":"en_US","og_type":"article","og_title":"website running php-fpm shows 503 Service Temporarily Unavailable | 24x7serversupport Blog","og_description":"Website is showing the following error: The following errors are shown in \/var\/log\/plesk\/panel.log log file: The website is using PHP-FPM handler at Domains > example.com > PHP Settings The following errors can be found in the website error_log file at \/var\/www\/vhosts\/example.com\/logs\/error_log: Connect to the server via\u00a0SSH Get the PHP-FPM version assigned to the domain: Start [&hellip;]","og_url":"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/","og_site_name":"24x7serversupport Blog","article_published_time":"2020-04-04T07:32:37+00:00","article_modified_time":"2020-04-04T07:33:49+00:00","og_image":[{"width":2000,"height":1200,"url":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2015\/03\/parallels.png?fit=2000%2C1200&ssl=1","type":"image\/png"}],"author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/","url":"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/","name":"website running php-fpm shows 503 Service Temporarily Unavailable | 24x7serversupport Blog","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/#primaryimage"},"image":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2015\/03\/parallels.png?fit=2000%2C1200&ssl=1","datePublished":"2020-04-04T07:32:37+00:00","dateModified":"2020-04-04T07:33:49+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/#primaryimage","url":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2015\/03\/parallels.png?fit=2000%2C1200&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2015\/03\/parallels.png?fit=2000%2C1200&ssl=1","width":2000,"height":1200,"caption":"Linux Plesk Server Management"},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/website-running-php-fpm-shows-503-service-temporarily-unavailable\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"website running php-fpm shows 503 Service Temporarily Unavailable"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.24x7serversupport.com\/blog\/wp-content\/uploads\/2015\/03\/parallels.png?fit=2000%2C1200&ssl=1","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=2974"}],"version-history":[{"count":2,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2974\/revisions"}],"predecessor-version":[{"id":2976,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/2974\/revisions\/2976"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media\/63"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=2974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=2974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=2974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}