You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Carsten Wiedmann <ca...@gmx.de> on 2011/01/31 14:12:40 UTC

[users@httpd] Re: [mod_fcgid] Question about FcgidCmdOptions (InitialEnv) and session (cookie) problem with PHP

Hello,

> 2)
> I also have a problem with PHP apps like phpMyAdmin. e.g. Cookie login
> is not working. After each request a new session file is created in the

OK, this seams to be a bug? If I enable
| FcgidFixPathinfo 1
many scripts are broken. e.g. there is no logo in phpinfo().

With this setting SCRIPT_NAME and PHP_SELF are set to "C:/phpinfo.php". 
If I don't set FcgidFixPathinfo, they are set to "/phpinfo.php".

But the default for "cgi.fix_pathinfo" is "1", thus I guess I have to 
enable FcgidFixPathinfo...


> 1)
> Another problem: How can I set a value with space? e.g:
> | FcgidInitialEnv FOO "C:\\Program Files\\Foo"
>
> is working. But:
> | FcgidCmdOptions "C:/usr/bin/cgi.exe" \
> | InitialEnv FOO="C:\Program Files\Foo"
> not.

Nobody knows an answer?


Regards,
Carsten


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: [mod_fcgid] Question about FcgidCmdOptions (InitialEnv) and session (cookie) problem with PHP

Posted by Carsten Wiedmann <ca...@gmx.de>.
Am 31.01.2011 16:50, schrieb Igor Galić:
>
> ----- "Carsten Wiedmann"<ca...@gmx.de>  wrote:
>
>> OK, this seams to be a bug? If I enable
>> | FcgidFixPathinfo 1
>> many scripts are broken. e.g. there is no logo in phpinfo().
>
>
> Which version of mod_fcgid are you using?
> Did you check bugzilla?

Ah, sorry:
Windows 7 32bit
Apache 2.2.17
mod_fcgid 2.3.6
PHP 5.3.5

The same setting is working on my FreeBSD box. And I've found nothing 
about this in bugzilla.

Regards,
Carsten


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: [mod_fcgid] Question about FcgidCmdOptions (InitialEnv) and session (cookie) problem with PHP

Posted by Igor Galić <i....@brainsware.org>.
----- "Carsten Wiedmann" <ca...@gmx.de> wrote:

> Hello,
> 
> > 2)
> > I also have a problem with PHP apps like phpMyAdmin. e.g. Cookie
> login
> > is not working. After each request a new session file is created in
> the
> 
> OK, this seams to be a bug? If I enable


Which version of mod_fcgid are you using?
Did you check bugzilla?


> | FcgidFixPathinfo 1
> many scripts are broken. e.g. there is no logo in phpinfo().
> 
> With this setting SCRIPT_NAME and PHP_SELF are set to
> "C:/phpinfo.php". 
> If I don't set FcgidFixPathinfo, they are set to "/phpinfo.php".
> 
> But the default for "cgi.fix_pathinfo" is "1", thus I guess I have to
> 
> enable FcgidFixPathinfo...
> 
> 
> > 1)
> > Another problem: How can I set a value with space? e.g:
> > | FcgidInitialEnv FOO "C:\\Program Files\\Foo"
> >
> > is working. But:
> > | FcgidCmdOptions "C:/usr/bin/cgi.exe" \
> > | InitialEnv FOO="C:\Program Files\Foo"
> > not.
> 
> Nobody knows an answer?
> 
> 
> Regards,
> Carsten

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org