Bug #79014 [Opn->Fbk]: PHP-FPM & Primary script unknown | no more PHP Render
| From: | requinix@php.net | Date: | Sat, 21 Dec 2019 21:30:41 +0000 |
| Subject: | Bug #79014 [Opn->Fbk]: PHP-FPM & Primary script unknown | no more PHP Render | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-224470@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79014&edit=1
ID: 79014
Updated by: requinix@php.net
Reported by: sainthyoga2003 at gmail dot com
Summary: PHP-FPM & Primary script unknown | no more PHP
Render
-Status: Open
+Status: Feedback
Type: Bug
-Package: Apache2 related
+Package: *General Issues
Operating System: openSUSE Tumbleweed
PHP Version: 7.4.0
Block user comment: N
Private report: N
New Comment:
Your Apache configuration is not set up properly for FastCGI. Specifically, it is not passing the
PATH_TRANSLATED CGI variable. May be missing others too.
Previous Comments:
------------------------------------------------------------------------
[2019-12-21 21:26:56] sainthyoga2003 at gmail dot com
Fix PHP Version.
------------------------------------------------------------------------
[2019-12-21 21:21:29] sainthyoga2003 at gmail dot com
Description:
------------
Actually I don't know if is related to Apache2 or to FPM.
All was running ok with PHP 7.3.11. This happened once I updated PHP to 7.4.0
If I try to run phpinfo from localhost: http://localhost/index.php I get a blank page. Now if I try to
run ANY other script from the web, I get the error 'Primary script unknown'.
Test script:
---------------
<?php
phpinfo();
Expected result:
----------------
Web page with my PHP information. Via CLI it works.
Actual result:
--------------
Blank page for localhost/index.php
File not found for localhost/whatever/whatever.php, localhost/whatever.php
Error loged as Primary script unknown
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79014&edit=1