# 'File Not Found' Error in Gibbon V26 and Gibbon V27

**URL:** <https://ask.gibbonedu.org/t/file-not-found-error-in-gibbon-v26-and-gibbon-v27/9092>\
**Category:** Administration\
**Created:** [July 30, 2024, 3:10pm UTC](https://ask.gibbonedu.org/t/file-not-found-error-in-gibbon-v26-and-gibbon-v27/9092 "2024-07-30T15:10:00Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![fvlasie](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/f/a3d4f5/32.png) [@fvlasie](https://ask.gibbonedu.org/u/fvlasie)\
**Post date:** [September 2, 2024, 8:32am UTC](https://ask.gibbonedu.org/t/file-not-found-error-in-gibbon-v26-and-gibbon-v27/9092/21 "2024-09-02T08:32:13Z")

</div>

Adding the following line to /etc/httpd/conf.d/php.conf  
` ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "%{unescape:%{SCRIPT_FILENAME}}"`  
in  
`<IfModule !mod_php.c>`  
` # Enable http authorization headers`  
` SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1`  
` ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "%{unescape:%{SCRIPT_FILENAME}}"` ` <FilesMatch \.(php|phar)$>`  
` SetHandler "proxy:unix:/run/php-fpm/www.sock|` `fcgi://localhost` `"`  
` </FilesMatch>`  
`</IfModule>`  
solved the issue for me. Reference: [PHP-FPM + Apache: special characters in SCRIPT\_FILENAME are URL encoded · Issue #15246 · php/php-src · GitHub](https://github.com/php/php-src/issues/15246)

---

<div class="post-metadata">

**Author:** ![sandra](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/sandra/32/5_2.png) [@sandra](https://ask.gibbonedu.org/u/sandra)\
**Post date:** [September 7, 2024, 5:49am UTC](https://ask.gibbonedu.org/t/file-not-found-error-in-gibbon-v26-and-gibbon-v27/9092/22 "2024-09-07T05:49:24Z")

</div>

Thank you everyone for sharing your solutions. Unfortunately, although it sounded like there was a patch in the works from Apache, as of 2.4.62 this issue [does not appear to have been fixed](https://bz.apache.org/bugzilla/show_bug.cgi?id=69203). This issue is not in Gibbon itself, so not something we’re able to fix from our end, so hopefully the solutions provided by the community will help until there is an Apache software fix. At the moment, it appears to affect all Apache systems running php-fpm. Please try the solution provided by @fvlasie and let us know if you continue to encounter issues. Thanks

---

<div class="post-metadata">

**Author:** ![mikemilkshake](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/m/8491ac/32.png) [@mikemilkshake](https://ask.gibbonedu.org/u/mikemilkshake)\
**Post date:** [January 21, 2025, 2:54pm UTC](https://ask.gibbonedu.org/t/file-not-found-error-in-gibbon-v26-and-gibbon-v27/9092/23 "2025-01-21T14:54:59Z")

</div>

Its january and it still isnt fixed. I have tried updating the server and the steps mentioned above but it still dont work.

I run ubuntu and dont have the same directory: “/etc/httpd/conf.d/php.conf”  
So i tried: ls /etc/apach2/conf.d  
output: ipadress.conf domains hestia-event.conf phpmyadmin.inc

As you see i dont have php.conf. I tried adding the code above you mentioned in my conf files but it would just break apache2.

I’m thinking about doing a fresh install, would like to hear your thoughts  
Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![aaron](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/a/e19adc/32.png) [@aaron](https://ask.gibbonedu.org/u/aaron)\
**Post date:** [January 26, 2025, 7:05pm UTC](https://ask.gibbonedu.org/t/file-not-found-error-in-gibbon-v26-and-gibbon-v27/9092/24 "2025-01-26T19:05:59Z")

</div>

I am unsure if this is too late, but you can find the `php.conf` file in `/etc/apache2/conf-available`.

You should be able to find `php.conf` or `php8.x-fpm.conf`  
with `x` being the version number.

You can then add the following line in the `Enable HTTP authorization headers` section

`ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "%{unescape:%{SCRIPT_FILENAME}}"`

Restart or reload the apache server and it should work.

---

<div class="post-metadata">

**Author:** ![mikemilkshake](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/m/8491ac/32.png) [@mikemilkshake](https://ask.gibbonedu.org/u/mikemilkshake)\
**Post date:** [January 27, 2025, 8:29am UTC](https://ask.gibbonedu.org/t/file-not-found-error-in-gibbon-v26-and-gibbon-v27/9092/25 "2025-01-27T08:29:04Z")

</div>

Hi thanks for your help.

I have tried that but it didnt work. I think im gonna wait for Apache2 2.4.63 and hope the issue will be fixed.

[Previous page](https://ask.gibbonedu.org/t/file-not-found-error-in-gibbon-v26-and-gibbon-v27/9092.md?page=1)
