PHP file not found, but it exists

Hello, Dear friends!
Please tell me, colleagues, who has dealt with such a task.
Cyrillic domain, add to the panel. HCP 1.8.12
Create a PHP version check file in the root
phpinfo.php

<?php
phpinfo();
?>

Access the file from the browser and get the answer

File not found

I create the same file
phpinfo.txt
and the browser opens it.

Error log

AH01071: Got error ‘Primary script unknown’

Does anyone have experience with such a task
Please tell me.

With great respect and hope for help, friends

To me it sounds like file permission issues. If the file was created as an elevated user like root or something the users php process may not have permission to execute that file. where the .txt file is just read only.

I’m unable to test with Cyrillic domain encoding, but, to me, file permission seems likely.

to fix. Create the file on a computer, and upload to the root directory from the server GUI file manager on the correct user. it will create the file with the correct ownership to be executed.

Same thing happens when uploading or uncompromising Wordpress files via ssh. messes with the permissions, way easier to upload and unzip via the panel gui than to go back and apply the correct permissions and ownership recursively.

One interesting feature related to the recoding of GET parameters is the reason for this behavior. This applies to cases of IDN domains.
If you are also interested in this, I want to share what I managed to find for this request

My personal opinion.
I want to test it, now I am delving into the study of related topics to understand it better. As I feel more confident, I will make the recommended changes.

There is a patch that works

Thanks to this advice, the issue is resolved. Everything works. Thanks to the developers! Respect and best wishes
Both configuration files need to be corrected
apache2.conf
apache2.ssl.conf

Friends,
To my great regret,
attempting to install osStore results in error 500
Internal Server Error

Log contents

AH01136: Unescaped URL path matched ProxyPass; ignoring unsafe nocanon

 [proxy:error] [pid 204010:tid 204023] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:8000 (localhost:8000) failed

An attempt to change the server name in the configuration using Cyrillic characters or punicode also returns 500 already on the first page.

what is osStore? do you mean OpenCart?