Current time: 12-24-2024, 09:48 AM Hello There, Guest! (LoginRegister)


Post Reply 
How is FastCGI supposed to work?
Author Message
MrMarv Offline
Junior Member
*

Posts: 14
Joined: Jun 2008
Reputation: 0
Post: #1
Question How is FastCGI supposed to work?
Hi Guys and Ladies,

I am currently installing Omega RC5 on my FreeBSD 7 Box.

After some changes every little here and there the installation process worked.

My Problem now is: PHP Files are not beeing parsed and output as plain text. Regarding to this I added these following lines to /usr/local/etc/apache22/Includes/00_master.conf

AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

into to <IfModule mod_php5.c> section.

After this my php files are parsed but another Problem came out of the sudden.

Browsing to index.php outputs:
"Warning: session_start() [function.session-start]: open(/usr/local/www/ispcp/gui/phptmp//sess_399c18f14a6c8107b1a5938feeb49224, O_RDWR) failed: Permission denied (13) in /usr/local/www/ispcp/gui/include/ispcp-lib.php on line 27"

Which totally makes sense since this directory is only writeble for user "vu2000" and my phpfiles are run using user "www", the apache user. (i found out using phpinfo)

For me it seems like there is a missconfiguration somewhere between Apache(2.22.8) and the php interpreter.

Booth the mod_php5 and the fcgi are loaded as the server header says:
"Server: Apache/2.2.8 (FreeBSD) mod_ssl/2.2.8 OpenSSL/0.9.8e mod_fastcgi/2.4.6 PHP/5.2.6 with Suhosin-Patch"

My question is: How is the setup supposed to be and what settings need I to set so that php is run as vu2000?
It would be quite interesting to see your config files in this case!

If you need further information dont hesitate contact me!
Many thanks in advance!

Marv
06-17-2008 05:56 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
How is FastCGI supposed to work? - MrMarv - 06-17-2008 05:56 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)