fastcgi 相关问题

回答 0 投票 0

<code>ls "/var/www/html/tempdir/test name.php" </code>

[core:trace5] [pid 14742:tid 14827] protocol.c(713): [client 127.0.0.1:35246] Request received from client: GET /tempdir/test%20name.php HTTP/1.1 [http:trace4] [pid 14742:tid 14827] http_request.c(435): [client 127.0.0.1:35246] Headers received from client: [http:trace4] [pid 14742:tid 14827] http_request.c(438): [client 127.0.0.1:35246] Host: localhost [http:trace4] [pid 14742:tid 14827] http_request.c(438): [client 127.0.0.1:35246] User-Agent: Wget/1.21.2 [http:trace4] [pid 14742:tid 14827] http_request.c(438): [client 127.0.0.1:35246] Accept: */* [http:trace4] [pid 14742:tid 14827] http_request.c(438): [client 127.0.0.1:35246] Accept-Encoding: identity [http:trace4] [pid 14742:tid 14827] http_request.c(438): [client 127.0.0.1:35246] Connection: Keep-Alive [authz_core:debug] [pid 14742:tid 14827] mod_authz_core.c(815): [client 127.0.0.1:35246] AH01626: authorization result of Require all granted: granted [authz_core:debug] [pid 14742:tid 14827] mod_authz_core.c(815): [client 127.0.0.1:35246] AH01626: authorization result of <RequireAny>: granted [core:trace3] [pid 14742:tid 14827] request.c(360): [client 127.0.0.1:35246] request authorized without authentication by access_checker_ex hook: /tempdir/test name.php [proxy:trace2] [pid 14742:tid 14827] proxy_util.c(2457): [client 127.0.0.1:35246] *: fixup UDS from proxy:unix:/run/php/php7.4-fpm.sock|fcgi://localhost/var/www/html/tempdir/test name.php: fcgi://localhost/var/www/html/tempdir/test name.php (/run/php/php7.4-fpm.sock) [proxy_fcgi:trace1] [pid 14742:tid 14827] mod_proxy_fcgi.c(76): [client 127.0.0.1:35246] canonicalising URL //localhost/var/www/html/tempdir/test name.php [proxy_fcgi:debug] [pid 14742:tid 14827] mod_proxy_fcgi.c(123): [client 127.0.0.1:35246] AH01060: set r->filename to proxy:fcgi://localhost/var/www/html/tempdir/test%20name.php [proxy:trace2] [pid 14742:tid 14827] proxy_util.c(2625): [client 127.0.0.1:35246] *: using default reverse proxy worker for fcgi://localhost/var/www/html/tempdir/test%20name.php (no keepalive) [proxy:debug] [pid 14742:tid 14827] mod_proxy.c(1465): [client 127.0.0.1:35246] AH01143: Running scheme fcgi handler (attempt 0) [proxy_fcgi:debug] [pid 14742:tid 14827] mod_proxy_fcgi.c(1078): [client 127.0.0.1:35246] AH01076: url: fcgi://localhost/var/www/html/tempdir/test%20name.php proxyname: (null) proxyport: 0 [proxy_fcgi:debug] [pid 14742:tid 14827] mod_proxy_fcgi.c(1087): [client 127.0.0.1:35246] AH01078: serving URL fcgi://localhost/var/www/html/tempdir/test%20name.php [proxy:debug] [pid 14742:tid 14827] proxy_util.c(2797): AH00942: FCGI: has acquired connection for (*:80) [proxy:debug] [pid 14742:tid 14827] proxy_util.c(3242): [client 127.0.0.1:35246] AH00944: connecting fcgi://localhost/var/www/html/tempdir/test%20name.php to localhost:8000 [proxy:debug] [pid 14742:tid 14827] proxy_util.c(3309): [client 127.0.0.1:35246] AH02545: fcgi: has determined UDS as /run/php/php7.4-fpm.sock (for localhost:8000) [proxy:debug] [pid 14742:tid 14827] proxy_util.c(3450): [client 127.0.0.1:35246] AH00947: connecting /var/www/html/tempdir/test%20name.php to /run/php/php7.4-fpm.sock:0 (localhost:8000) [proxy:debug] [pid 14742:tid 14827] proxy_util.c(3832): AH02823: FCGI: connection established with Unix domain socket /run/php/php7.4-fpm.sock (localhost:8000) [proxy_fcgi:error] [pid 14742:tid 14827] [client 127.0.0.1:35246] AH01071: Got error 'Primary script unknown' [proxy_fcgi:trace4] [pid 14742:tid 14827] util_script.c(572): [client 127.0.0.1:35246] Headers from script 'test%20name.php': [proxy_fcgi:trace4] [pid 14742:tid 14827] util_script.c(575): [client 127.0.0.1:35246] Status: 404 Not Found [proxy_fcgi:trace1] [pid 14742:tid 14827] util_script.c(654): [client 127.0.0.1:35246] Status line from script 'test%20name.php': 404 Not Found [proxy_fcgi:trace4] [pid 14742:tid 14827] util_script.c(575): [client 127.0.0.1:35246] Content-type: text/html; charset=UTF-8

回答 0 投票 0

NGINX -PHP -FPM -Azure容器应用程序返回截断页

如果我在本地运行NGINX容器,那么在将Nginx移至Azure之前,问题不会发生。我能想到的显着环境差异是Azure创造的负载平衡器,但我对如何解决问题不了解。在nginx日志中,我看到以下内容:

回答 1 投票 0

DNS 在 PHP 中不起作用(但一般情况下可以)

以下脚本: $val){ echo $label.':'。 $val 。 ''; } } 回声

回答 3 投票 0

FastCGI shell 脚本

我想将 FastCGI 与 shell 脚本一起使用。 我找到了几个关于在 shell 中编写 CGI 脚本的教程,但没有任何关于 FastCGI 的教程,我猜这不是一回事。 有没有可能,...

回答 4 投票 0

使用SSRF+gopher协议攻击内网php-fpm时出现curl解析问题

我使用nginx+php-fpm(nginx/1.18.0,PHP 8.2.3(fpm-fcgi),Zend Engine v4.2.3)在docker中构建了一个服务器,并运行了一个带有ssrf漏洞的网页ssrf.php,其中具有...的代码部分

回答 1 投票 0

如何使用 mod_proxy_fcgi 为给定文件扩展名设置 fastcgi 处理程序

我有一个 perl fastcgi 脚本,它监听本地主机的 2022 端口,我想将其用作任何扩展名为“stml”的文件的处理程序。事实证明,在其他所有网络服务器上都是微不足道的

回答 1 投票 0

如何使用简单的PHP脚本测试PHP max_execution_time和default_socket_timeout?

我发现在php中(至少在linux上)sleep(秒);不计入超时! 所以,我的问题是,我可以用什么“代替” sleep(300);等在一个简单的 php 脚本中...

回答 2 投票 0

获取帖子客户端IP

嗯,我知道在问这里之前我应该尝试很多,但我的问题是。很难获得 fcgi 文档的结构化参考。所以我希望你不要对我投太多反对票,即使是在 asp 中......

回答 1 投票 0

CGI::客户端之间的会话共享会话!

当我尝试这个时: while (我的 $cgi = new CGI::Fast) { ... 我的 $session = CGI::Session->new(undef, $cgi); ... } 我发现不同的客户正在获得相同的会话! 什么

回答 3 投票 0

PHP 8.2-FPM PHPRC 不覆盖加载的配置文件

我正在将 PHP 8.2-FPM 与 Nginx 一起使用,并且我尝试使用 PHPRC 环境变量设置自定义 php.ini 文件。我可以看到 $_SERVER['PHPRC'] 在 PHP 变量部分中设置正确...

回答 1 投票 0

如何增加 MAMP / MAMP Pro 上的 apache fastCGI 超时?

有人知道如何增加 MAMP / MAMP Pro 上的 apache fastCGI 超时吗?我到处都找过了,但似乎找不到。 一如既往地感谢任何帮助。 谢谢, Codarz360

回答 5 投票 0

在Windows服务器上使用IIS和FastCGI部署时的Url解码问题

我实现了一个应用程序前端Angular,后端Django,使用IIS和FastCGI部署在Windows服务器上。 此应用程序在某个 URL 上提供媒体文件。它在本地开发服务器上运行良好。 我可以访问...

回答 2 投票 0

使用handle_path时,Caddy PHP fastcgi不提供服务器script_name

Caddy (2.8.4) 通过 FastCGI (PHP-FPM) 托管 PHP 应用程序,但由于某种原因,当我使用 caddy handle_path 配置时, $_SERVER['SCRIPT_NAME'] 不包含完整路径。 :80 {

回答 1 投票 0

Symfony + NGINX = 上游在从上游读取响应标头时发送了太大的标头

尝试在浏览器中打开 Symfony Web 应用程序以 502 错误结束。 NGINX 日志包含此错误 - 上游在从上游读取响应标头时发送了太大的标头。 据我...

回答 1 投票 0

使用 fastcgi unix 套接字时路径包含空格时找不到 php 文件

我正在将在 Windows xampp 上构建的网站转移到运行 ubuntu 24.04、apache 2.4.62 和 php 7.4.33 的服务器。除了 php 文件中任何位置包含空格外,一切工作正常

回答 1 投票 0

如何判断PHP-FPM进程中正在执行哪个脚本

我正在运行 nginx + php-fpm。有什么方法可以知道每个 PHP 进程在做什么吗?类似 apache 中的扩展 mod_status 之类的东西,我可以在其中看到 PID x 的 apache 进程是

回答 5 投票 0

Nginx + Fastcgi 缓存 - 清除 WordPress

我们使用带有 Debian 的 VPS、Nginx 1.24 + PHP-FPM 8.3 以及活跃的 Fastcgi 缓存。 一切正常,但如果我们想从 Wordpress 中清除缓存,它只会删除缓存文件,而不是文件夹。 我们使用 Nginx ...

回答 1 投票 0

仅在 kernel.terminate 事件后返回响应

我对kernel.terminate的理解是,它在响应返回给客户端后触发。 在我的测试中,情况似乎并非如此。如果我在

回答 2 投票 0

无法使用 nginx、fastcgi 和 bash 禁用 cgi 上的缓冲

我想制作一个CGI来启动程序并在网络浏览器中实时显示输出。这里的实时意味着一旦程序产生一行输出,它就应该显示...

回答 3 投票 0

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.