Home »
FUDforum »
FUDforum Installation Issues »
cgi.fix_pathinfo and nginx (Howto enable cgi.fix_pathinfo and get FUDForum working)
cgi.fix_pathinfo and nginx [message #186915 ]
Fri, 26 June 2015 01:59
DaveQB
Messages: 109Registered: January 2006 Location: Sydney
Karma: 0
Senior Member
add to buddy list ignore all messages by this user
Hi all,
If you're reading this, you may have ran into the same issue I did.
Symptoms
- FUDForum gives a 200 HTTP response but 0bytes of data (blank white page)
- No errors in your logs
I ran into this when Roundcube stopped working for me when I moved my webamail vhosts to a different server.
I found the issue here was that in my fpm php.ini config I had:
This was the default config for this server.
I changed this to:
And this got roundcube working. Yay! And it is safer too.
But now FUDForum was broken (see symptoms above)
Digging further, I pieced together that the solution was to add the below to your *.php block in nginx:
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
Once this is done you should now be getting 500 internal error codes from your server. The issue is it can't find the GLOBALS.php file due to the include path (well at least for me anyway)
So then set your include_path in your php pool config for the php pool your FUDForum website is using:
php_value[include_path] = "/usr/share/php:/usr/share/pear:/var/local/FUDforum/scripts:/var/local/FUDforum/include:/var/local/FUDforum/include/theme/default"
Change the path to match the data folder of your installation (/var/local/FUDforum)
You should be right to go.
Ask any questions.
Ref: http://serverfault.com/questions/514157/how-to-set-php-include-path-for-php -fpm-in-nginx-config
http://fudforum.org/forum/index.php?t=msg&th=119217&goto=162124& ;#msg_162124
Rate Topic
1 Worst
2
3
4
5 Best
Goto Forum:
- FUDforum FUDforum Documentation FUDforum Announcements FUDforum Installation Issues How To FUDforum Suggestions - FUDforum Development FUDforum 3.0+ Bug Reports Plugins and Code Hacks Converters Translations Forum Styles Icons & buttons Forum Showcase Marketplace - General General Chit Chat FUDforum in eGroupWare PHP discussions Database discussions HTML, Javascript, jQuery & AJAX Test Forum Test subforum 1 Test subforum 2 - Imported messages comp.lang.php
Current Time: Sat May 24 08:58:19 EDT 2025
Total time taken to generate the page: 0.12970 seconds