Questions tagged [fpm]

FastCGI Process Manager - an alternative PHP FastCGI implementation with some additional features

PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

More information can be found on http://php-fpm.org.

503 questions
0
votes
0 answers

Why is Kubernetes pod taking more memory than it's processes take?

Our stack is basically nginx + php-fpm. We have the same setup in many projects, and it works fine. Except in one project it keeps going our of memory. The PHP-FPM container keeps accumulating memory until the php-fpm processes start to get…
Rax
  • 470
  • 5
  • 15
0
votes
1 answer

ENV variable strings for php_value in php-fpm config not working

I have a php-fpm config file with: php_flag[display_errors] = ${PHP_DISPLAY_ERRORS} php_value[error_reporting] = ${PHP_ERROR_REPORTING} php_flag[log_errors] = ${PHP_LOG_ERRORS} and ENV variables…
Brad
  • 96
  • 7
0
votes
1 answer

how to change the loaded configuration file PHP from CLI to FPM

After installed Apache/PHP into MPM Event engine for PHP 7.3 FPM : I realize that PHP-FPM is installed I confirm that PHP-FPM status is activate by service php7.3-fpm status My /etc/php/ directory contains the cli and fpm directory My Apache conf…
miltone
  • 4,416
  • 11
  • 42
  • 76
0
votes
0 answers

502 Error Nginx +php-fpm 8 issue with API access

In my new Amazon linix machine after configured ,I can't get Nginx working with the API as it is supposed to. The current error is that 'curl localhost/api' returns a 502. [root@ip-ec2-user]# curl localhost:8872/api 502 Bad…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/linux" class="post-tag grid--cell" title="show questions tagged 'linux'" rel="tag">linux</a> <a href="../../questions/tagged/amazon-web-services" class="post-tag grid--cell" title="show questions tagged 'amazon-web-services'" rel="tag">amazon-web-services</a> <a href="../../questions/tagged/nginx" class="post-tag grid--cell" title="show questions tagged 'nginx'" rel="tag">nginx</a> <a href="../../questions/tagged/fpm" class="post-tag grid--cell" title="show questions tagged 'fpm'" rel="tag">fpm</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 25 '22 at 07:36">asked May 25 '22 at 07:36</time> <a href="../../users/19008985/sam23" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/19008985.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="sam23" /> </a> <div class="s-user-card--info"> <a href="../../users/19008985/sam23" class="s-user-card--link">sam23</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">57</li> <li class="s-award-bling s-award-bling__bronze" title="5 bronze badges">5</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-72265468"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/72265468/show-full-http-request-uri-host-name-in-php-fpm-status-page" class="question-hyperlink">Show full HTTP request URI host name in PHP-FPM status page</a></h3> <div class="excerpt">My problem is that request URI in the PHP-FPM status page does not show the full request host, and there are multiple domains used on the server, so just showing the path to something is entirely useless if I don't know what domain it is coming…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/nginx" class="post-tag grid--cell" title="show questions tagged 'nginx'" rel="tag">nginx</a> <a href="../../questions/tagged/webserver" class="post-tag grid--cell" title="show questions tagged 'webserver'" rel="tag">webserver</a> <a href="../../questions/tagged/status" class="post-tag grid--cell" title="show questions tagged 'status'" rel="tag">status</a> <a href="../../questions/tagged/fpm" class="post-tag grid--cell" title="show questions tagged 'fpm'" rel="tag">fpm</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 16 '22 at 20:49">asked May 16 '22 at 20:49</time> <a href="../../users/15473477/questionmark" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/15473477.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="QuestionMark" /> </a> <div class="s-user-card--info"> <a href="../../users/15473477/questionmark" class="s-user-card--link">QuestionMark</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">55</li> <li class="s-award-bling s-award-bling__bronze" title="7 bronze badges">7</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-72251714"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/72251714/truncated-php-fpm-nginx-log-lines" class="question-hyperlink">Truncated PHP-FPM / NGINX log lines</a></h3> <div class="excerpt">I have a lot of lines in my PHP-FPM / NGINX logs that are truncated to 2048 bytes like this: 2022/05/15 16:06:16 [error] 899#899: *29892 FastCGI sent in stderr: "com/wordpress/wp-includes/class-wp-query.php on line 4121PHP message: PHP Warning: …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/nginx" class="post-tag grid--cell" title="show questions tagged 'nginx'" rel="tag">nginx</a> <a href="../../questions/tagged/logging" class="post-tag grid--cell" title="show questions tagged 'logging'" rel="tag">logging</a> <a href="../../questions/tagged/fpm" class="post-tag grid--cell" title="show questions tagged 'fpm'" rel="tag">fpm</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 15 '22 at 19:49">asked May 15 '22 at 19:49</time> <a href="../../users/1449117/laszlo-monda" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1449117.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="László Monda" /> </a> <div class="s-user-card--info"> <a href="../../users/1449117/laszlo-monda" class="s-user-card--link">László Monda</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,647</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="16 silver badge">16</li> <li class="s-award-bling s-award-bling__bronze" title="29 bronze badge">29</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-72243365"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/72243365/random-http-1-1-502-bad-gateway-in-php-rest-api" class="question-hyperlink">Random HTTP/1.1 502 Bad Gateway in PHP REST API</a></h3> <div class="excerpt">I have written a REST API in PHP using slim micro framework. Hosted on Apache (Event MPM) + PHP8.0-FPM on 2-vCPU and 4 GiB RAM and 10Gbps N/w bandwidth behind LoadBalancer. Issue: The test program is receiving random HTTP/1.1 502 Bad Gateway in…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/apache" class="post-tag grid--cell" title="show questions tagged 'apache'" rel="tag">apache</a> <a href="../../questions/tagged/fpm" class="post-tag grid--cell" title="show questions tagged 'fpm'" rel="tag">fpm</a> <a href="../../questions/tagged/bad-gateway" class="post-tag grid--cell" title="show questions tagged 'bad-gateway'" rel="tag">bad-gateway</a> <a href="../../questions/tagged/http-status-code-502" class="post-tag grid--cell" title="show questions tagged 'http-status-code-502'" rel="tag">http-status-code-502</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 14 '22 at 19:36">asked May 14 '22 at 19:36</time> <a href="../../users/2519675/satbirsingh" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2519675.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="SatbirSingh" /> </a> <div class="s-user-card--info"> <a href="../../users/2519675/satbirsingh" class="s-user-card--link">SatbirSingh</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">198</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="11 bronze badges">11</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-72162257"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/72162257/wordpress-error-404-in-migration-from-apache-to-nginx" class="question-hyperlink">Wordpress error 404 in migration from Apache to Nginx</a></h3> <div class="excerpt">I have a working WordPress installation on an Apache server and wanted to migrate to an NGINX server on a VPS. I've copied all the files, set up the MSQL connection, etc. and everything seems to work fine except the published articles, which all…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/wordpress" class="post-tag grid--cell" title="show questions tagged 'wordpress'" rel="tag">wordpress</a> <a href="../../questions/tagged/nginx" class="post-tag grid--cell" title="show questions tagged 'nginx'" rel="tag">nginx</a> <a href="../../questions/tagged/http-status-code-404" class="post-tag grid--cell" title="show questions tagged 'http-status-code-404'" rel="tag">http-status-code-404</a> <a href="../../questions/tagged/fastcgi" class="post-tag grid--cell" title="show questions tagged 'fastcgi'" rel="tag">fastcgi</a> <a href="../../questions/tagged/fpm" class="post-tag grid--cell" title="show questions tagged 'fpm'" rel="tag">fpm</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 08 '22 at 15:00">asked May 08 '22 at 15:00</time> <a href="../../users/19063832/varicap" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/19063832.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Varicap" /> </a> <div class="s-user-card--info"> <a href="../../users/19063832/varicap" class="s-user-card--link">Varicap</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">3</li> <li class="s-award-bling s-award-bling__bronze" title="3 bronze badges">3</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-72119096"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/72119096/settings-servername-and-serveradmin-in-apache2-conf-are-not-shown-in-php-varia" class="question-hyperlink">Settings ServerName and ServerAdmin in apache2.conf are not shown in PHP-Variables</a></h3> <div class="excerpt">I was edit the apache2.conf and insert this Lines: # Global configuration # ServerName server-16.******.de ServerAdmin max.mustermann@******.de But this values i can't see in the php variables if i look in phpinfo(). The results…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/apache2.4" class="post-tag grid--cell" title="show questions tagged 'apache2.4'" rel="tag">apache2.4</a> <a href="../../questions/tagged/fpm" class="post-tag grid--cell" title="show questions tagged 'fpm'" rel="tag">fpm</a> <a href="../../questions/tagged/server-variables" class="post-tag grid--cell" title="show questions tagged 'server-variables'" rel="tag">server-variables</a> <a href="../../questions/tagged/ubuntu-22.04" class="post-tag grid--cell" title="show questions tagged 'ubuntu-22.04'" rel="tag">ubuntu-22.04</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 04 '22 at 20:26">asked May 04 '22 at 20:26</time> <a href="../../users/4475643/juppi" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4475643.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Juppi" /> </a> <div class="s-user-card--info"> <a href="../../users/4475643/juppi" class="s-user-card--link">Juppi</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> <li class="s-award-bling s-award-bling__bronze" title="3 bronze badges">3</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-71796909"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/71796909/php-gd-extension-for-php-fpm" class="question-hyperlink">PHP gd-extension for php-fpm</a></h3> <div class="excerpt">I am new to php-fpm We are using PHP with Apache 2.4. After switching from php7_module to proxy_fcgi_module the gd extension is not found anymore. How can I make sure that it is used? Problem for Kanboard The error message goes like Internal Error:…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/apache" class="post-tag grid--cell" title="show questions tagged 'apache'" rel="tag">apache</a> <a href="../../questions/tagged/gd" class="post-tag grid--cell" title="show questions tagged 'gd'" rel="tag">gd</a> <a href="../../questions/tagged/fpm" class="post-tag grid--cell" title="show questions tagged 'fpm'" rel="tag">fpm</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 08 '22 at 12:21">asked Apr 08 '22 at 12:21</time> <a href="../../users/2092322/bairdev" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2092322.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="BairDev" /> </a> <div class="s-user-card--info"> <a href="../../users/2092322/bairdev" class="s-user-card--link">BairDev</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,865</li> <li class="s-award-bling s-award-bling__gold" title="4 gold badges">4</li> <li class="s-award-bling s-award-bling__silver" title="27 silver badges">27</li> <li class="s-award-bling s-award-bling__bronze" title="50 bronze badges">50</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-71715593"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/71715593/php-execution-stops-after-closing-browser-tab" class="question-hyperlink">PHP execution stops after closing browser tab</a></h3> <div class="excerpt">My site runs on nginx and PHP7.4 fpm. I have coded a backend script that can be called from the browser. For debug purpose I put quite a few error_log statements in the code. I found that if I do any of the following the script will stop running -…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/nginx" class="post-tag grid--cell" title="show questions tagged 'nginx'" rel="tag">nginx</a> <a href="../../questions/tagged/fpm" class="post-tag grid--cell" title="show questions tagged 'fpm'" rel="tag">fpm</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 02 '22 at 07:17">asked Apr 02 '22 at 07:17</time> <a href="../../users/58743/shawn" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/58743.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Shawn" /> </a> <div class="s-user-card--info"> <a href="../../users/58743/shawn" class="s-user-card--link">Shawn</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">32,509</li> <li class="s-award-bling s-award-bling__gold" title="17 gold badges">17</li> <li class="s-award-bling s-award-bling__silver" title="45 silver badges">45</li> <li class="s-award-bling s-award-bling__bronze" title="74 bronze badges">74</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-71693844"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/71693844/502-bad-gateway-error-in-nginx-using-phalcon-and-jquery-on-submit" class="question-hyperlink">502 Bad Gateway Error In Nginx using Phalcon and jQuery on submit</a></h3> <div class="excerpt">I'm having some trouble resolving a 502 error on an NGINX server using the Phalcon 4.0.x Framework. Specifically on forms that send Ajax data to the PHP controller. These do not seems to arrive, but the Ajax it is working. I have explored several…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/unity-game-engine" class="post-tag grid--cell" title="show questions tagged 'unity-game-engine'" rel="tag">unity-game-engine</a> <a href="../../questions/tagged/phalcon" class="post-tag grid--cell" title="show questions tagged 'phalcon'" rel="tag">phalcon</a> <a href="../../questions/tagged/nginx-config" class="post-tag grid--cell" title="show questions tagged 'nginx-config'" rel="tag">nginx-config</a> <a href="../../questions/tagged/fpm" class="post-tag grid--cell" title="show questions tagged 'fpm'" rel="tag">fpm</a> <a href="../../questions/tagged/http-status-code-502" class="post-tag grid--cell" title="show questions tagged 'http-status-code-502'" rel="tag">http-status-code-502</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 31 '22 at 13:58">asked Mar 31 '22 at 13:58</time> <a href="../../users/18644359/dovad" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/18644359.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="dovad" /> </a> <div class="s-user-card--info"> <a href="../../users/18644359/dovad" class="s-user-card--link">dovad</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> <li class="s-award-bling s-award-bling__bronze" title="1 bronze badges">1</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-70752789"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/70752789/permissions-for-document-files-in-kubernetes-pod-with-separate-nginx-and-fpm-c" class="question-hyperlink">Permissions for Document Files in Kubernetes Pod, with Separate Nginx and FPM Containers</a></h3> <div class="excerpt">Given a pod running an Nginx container, and a PHP-FPM container, what would be the best practice for the applications document permissions? At the moment I have a volume shared between the containers so that Nginx has access to the PHP files. This…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/nginx" class="post-tag grid--cell" title="show questions tagged 'nginx'" rel="tag">nginx</a> <a href="../../questions/tagged/kubernetes" class="post-tag grid--cell" title="show questions tagged 'kubernetes'" rel="tag">kubernetes</a> <a href="../../questions/tagged/containers" class="post-tag grid--cell" title="show questions tagged 'containers'" rel="tag">containers</a> <a href="../../questions/tagged/fpm" class="post-tag grid--cell" title="show questions tagged 'fpm'" rel="tag">fpm</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 18 '22 at 08:57">asked Jan 18 '22 at 08:57</time> <a href="../../users/2212140/afraz" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2212140.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Afraz" /> </a> <div class="s-user-card--info"> <a href="../../users/2212140/afraz" class="s-user-card--link">Afraz</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">795</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="6 silver badge">6</li> <li class="s-award-bling s-award-bling__bronze" title="20 bronze badge">20</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-70447274"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/70447274/setting-nginx-and-apache-for-whm-panel" class="question-hyperlink">Setting nginx and apache for whm panel</a></h3> <div class="excerpt">(Sorry for my english, I use translator) I have a MyBB forum with good attendance, Server: Centos 7, Whm + cpanel, Apache Sites open for a long time, we decided to go nginx I installed use one button nginx in whm panel The site works faster but…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/nginx" class="post-tag grid--cell" title="show questions tagged 'nginx'" rel="tag">nginx</a> <a href="../../questions/tagged/whm" class="post-tag grid--cell" title="show questions tagged 'whm'" rel="tag">whm</a> <a href="../../questions/tagged/fpm" class="post-tag grid--cell" title="show questions tagged 'fpm'" rel="tag">fpm</a> <a href="../../questions/tagged/mybb" class="post-tag grid--cell" title="show questions tagged 'mybb'" rel="tag">mybb</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 22 '21 at 10:03">asked Dec 22 '21 at 10:03</time> <a href="../../users/17739335/alberto-moris" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/17739335.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Alberto Moris" /> </a> <div class="s-user-card--info"> <a href="../../users/17739335/alberto-moris" class="s-user-card--link">Alberto Moris</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-70291386"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/70291386/nginx-return-404-when-executing-script" class="question-hyperlink">Nginx return 404 when executing script</a></h3> <div class="excerpt">I have the php script in en /var/www/myproyect/public/scripts/myscript.php I'm using php 7.4 with nginx and php-fpm The file exists, if I open a txt it opens it without problem, but when it is a .php they return 404 location ~ \.php$ { …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/nginx" class="post-tag grid--cell" title="show questions tagged 'nginx'" rel="tag">nginx</a> <a href="../../questions/tagged/fastcgi" class="post-tag grid--cell" title="show questions tagged 'fastcgi'" rel="tag">fastcgi</a> <a href="../../questions/tagged/fpm" class="post-tag grid--cell" title="show questions tagged 'fpm'" rel="tag">fpm</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 09 '21 at 14:10">asked Dec 09 '21 at 14:10</time> <a href="../../users/17635966/milayton-cosmo" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/17635966.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="milayton Cosmo" /> </a> <div class="s-user-card--info"> <a href="../../users/17635966/milayton-cosmo" class="s-user-card--link">milayton Cosmo</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">11</li> <li class="s-award-bling s-award-bling__bronze" title="3 bronze badges">3</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/fpm_page=22" rel="prev" title="Go to page 22">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/fpm_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/fpm_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/fpm_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/fpm_page=33" rel="" title="Go to page 33">33</a> <a class="s-pagination--item" href="../../questions/tagged/fpm_page=34" rel="" title="Go to page 34">34</a> <a class="s-pagination--item" href="../../questions/tagged/fpm_page=24" rel="next" title="Go to page 24"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>