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/02/09 10:45:02 UTC

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

Am 14.01.2011 10:13, schrieb Carsten Wiedmann:
> 1)
> With FcgidInitialEnv I write:
> | FcgidInitialEnv FOO "C:\\ProgramData\\Foo"
>
> but with FcgidCmdOptions it's:
> | FcgidCmdOptions "C:/usr/bin/cgi.exe" \
> | InitialEnv FOO=C:\ProgramData\Foo
>
> I have to use a single backslash and not a double backslash as usual. Why?
>
> Another problem: How can I set a value with space? e.g:
> | FcgidInitialEnv FOO "C:\\Program Files\\Foo"
>
> is working. But:
> | InitialEnv FOO=C:\Program Files\Foo
> or
> | InitialEnv FOO="C:\Program Files\Foo"
> not.

Hm, next problem with a space. How can I use a space in FcgidWrapper?
| FcgidWrapper "C:/Program Files/PHP/php-5.3.5/php-cgi.exe" .php

is not working. Error:
| Syntax error on line 34 of C:/ProgramData/.../php.conf:
| Wrapper C:/Program cannot be accessed: (720002)Das System kann die | | 
angegebene Datei nicht finden.

Maybe the whole thing is more a question for Dev@?

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