# \#php-fpm

**URL:** https://community.nginx.org/tag/php-fpm/187.md

[Latest](https://community.nginx.org/latest.md) · [Categories](https://community.nginx.org/categories.md) · [Tags](https://community.nginx.org/tags.md)

---

## [\[Newbie help\] Access the URL of the /info.php file in the browser to download, not to display phpinfo information](https://community.nginx.org/t/newbie-help-access-the-url-of-the-info-php-file-in-the-browser-to-download-not-to-display-phpinfo-information/7691)

<div class="topic-metadata">

**Author:** [@Tty725](https://community.nginx.org/u/Tty725)\
**Replies:** 1\
**Last updated:** [October 23, 2025, 11:16am UTC](https://community.nginx.org/t/newbie-help-access-the-url-of-the-info-php-file-in-the-browser-to-download-not-to-display-phpinfo-information/7691 "2025-10-23T11:16:13Z")

</div>

In the Ubuntu Server 24.04 + php8.3-cli + php-fpm + nginx environment, after doing the following, access the URL of the /info.php file in the browser to download, not to display phpinfo information. Oracle Cloud Free 1c…

---

## [A problem with alias and PHP scripts](https://community.nginx.org/t/a-problem-with-alias-and-php-scripts/6501)

<div class="topic-metadata">

**Author:** [@hank](https://community.nginx.org/u/hank)\
**Replies:** 2\
**Last updated:** [September 3, 2025, 4:14pm UTC](https://community.nginx.org/t/a-problem-with-alias-and-php-scripts/6501 "2025-09-03T16:14:11Z")

</div>

I am updating my apps and I have rebuilt them with a bit different structure where public fles html/css/js and PHP files are on web subdirectory and vendor, possible logs, .env and so on are on the directory below web. B…

---

## [PHP memory limit: Cannot be changed](https://community.nginx.org/t/php-memory-limit-cannot-be-changed/7228)

<div class="topic-metadata">

**Author:** [@Jenne](https://community.nginx.org/u/Jenne)\
**Replies:** 2\
**Last updated:** [October 2, 2025, 6:20am UTC](https://community.nginx.org/t/php-memory-limit-cannot-be-changed/7228 "2025-10-02T06:20:20Z")

</div>

And again another question, now dealing with the PHP memory\_limit… When using Apache based servers I hat to change the PHP memory\_limit values several times within the php.ini file. While optimizing my WordPress install…

---

## [How do I limit NGINX/PHP-FPM to 1 client connection only?](https://community.nginx.org/t/how-do-i-limit-nginx-php-fpm-to-1-client-connection-only/2589)

<div class="topic-metadata">

**Author:** [@forgetfuladmin](https://community.nginx.org/u/forgetfuladmin)\
**Replies:** 3\
**Last updated:** [July 18, 2025, 12:41pm UTC](https://community.nginx.org/t/how-do-i-limit-nginx-php-fpm-to-1-client-connection-only/2589 "2025-07-18T12:41:25Z")

</div>

What I’m trying to do: Hello, I am seeking for Your suggestion on how to allow running a PHP script only once at a time, not for more than 1 persons/clients. Because the PHP script is made to run a python command which …

---

## [Connecting on 1 server and running a PHP script 1 client at a time](https://community.nginx.org/t/connecting-on-1-server-and-running-a-php-script-1-client-at-a-time/3548)

<div class="topic-metadata">

**Author:** [@Taxox](https://community.nginx.org/u/Taxox)\
**Replies:** 1\
**Last updated:** [June 5, 2025, 1:26pm UTC](https://community.nginx.org/t/connecting-on-1-server-and-running-a-php-script-1-client-at-a-time/3548 "2025-06-05T13:26:52Z")

</div>

What I’m trying to do: Hello, I am seeking for Your suggestion on how to allow running a PHP script only once at a time, not for more than 1 persons/clients. Because the PHP script is made to run a python command which …

---

## [PHP config doesnt work together with alias directive](https://community.nginx.org/t/php-config-doesnt-work-together-with-alias-directive/3519)

<div class="topic-metadata">

**Author:** [@Dentmaged52](https://community.nginx.org/u/Dentmaged52)\
**Replies:** 2\
**Last updated:** [May 28, 2025, 11:19am UTC](https://community.nginx.org/t/php-config-doesnt-work-together-with-alias-directive/3519 "2025-05-28T11:19:15Z")

</div>

Inside my server {} block, I have included a php.conf file, which works fine for all locations {} and subdirectories inside this block. But when a location block uses a alias directive, instead of the default root direct…

---

## [PHP support on NGINX server running on Mac Mini m4](https://community.nginx.org/t/php-support-on-nginx-server-running-on-mac-mini-m4/2075)

<div class="topic-metadata">

**Author:** [@Joeband77](https://community.nginx.org/u/Joeband77)\
**Replies:** 4\
**Last updated:** [April 12, 2025, 1:10am UTC](https://community.nginx.org/t/php-support-on-nginx-server-running-on-mac-mini-m4/2075 "2025-04-12T01:10:30Z")

</div>

What I’m trying to do: get the nginx web server to handle php files Where I’m stuckserver is set up and handles html pages, but rejects php and doesn’t even display the embedded \<?php ?\> characters as text in an html…

---

## [502 Bad Gateway with PHP](https://community.nginx.org/t/502-bad-gateway-with-php/648)

<div class="topic-metadata">

**Author:** [@bumble](https://community.nginx.org/u/bumble)\
**Replies:** 5\
**Last updated:** [March 28, 2025, 5:48pm UTC](https://community.nginx.org/t/502-bad-gateway-with-php/648 "2025-03-28T17:48:23Z")

</div>

My issue: Loading a PHP file gives 502 Bad Gateway How I encountered the problem: I’m attempting to install PHP with NGINX. I’ve install PHP 8.1 and done what I think is the correct config, but i can’t reach index.ph…
